| plot.log {heR.Misc} | R Documentation |
Function to plot data with nice log base-10 axes
and gridlines. Values less than 0 are
converted to the value NA. Can set axis tics to exact multiples of
ten on the plot, e.g., 0.1, 1, 10, if exact, or nearest 10$^i$
increment, e.g., 0.2 or 0.3 (for i = -1), otherwise.
plot.log(x, y, topx=NULL, ylim=range(y), xlim=range(x), exact10=TRUE,
type="s", log="x", col="black", grid=TRUE, rect=FALSE,
shade.col="tan", ...)
x |
x data values |
y |
y data values |
topx |
absolute maximum value |
ylim |
y-axis limits |
xlim |
x-axis limits |
exact10 |
logical, whether plot to nearest multiple of 10 or not |
type |
type of plotting symbol |
log |
log axis specification, e.g., "x" or "y" or "xy" |
col |
color for plotting symbols |
grid |
logical, draw gridlines or not |
rect |
logical, draw rectangles or not |
shade.col |
color to shade rectangles |
... |
additional graphical parameters |
Neil E. Klepeis
neil AT exposurescience DOT org
http://klepeis.net