Background Functions for Plotting

Description

These internal functions are called by the package's plotting functions to create logarithmic axes.

Usage

1
2
logAxis(x = NA, y = NA, gridX = FALSE, gridY = FALSE)
logAxis.plot(data, type, gridlines)

Arguments

x

data for x-axis

y

data for y-axis

gridX

TRUE if gridlines in the vertical directions are to be drawn; FALSE otherwise (default = FALSE).

gridY

TRUE if gridlines in the horizontal directions are to be drawn; FALSE otherwise (default = FALSE).

data

vector of data values for plot

type

"x" for horizontal axis; "y" for vertical axis

gridlines

TRUE for vertical gridlines across plot, FALSE otherwise (default = FALSE).

Details

  • logAxis is a wrapper function for performing calculations

  • logAxis.plot is the actual plotting function (which is called one axis at a time).

Value

No numerical values are returned by these functions; they are simply used to draw logarithmic axes on existing plots.

Author(s)

James Kaklamanos <kaklamanosj@merrimack.edu> and Kyle Elmy <ElmyK@merrimack.edu>