Plotting - Internal Functions

DESCRIPTION:

Internal functions for rendering axis ticks, tick labels, axis breaks, and axis lines, called from axis.render.

USAGE:

axis.line.render(side, col=par("col"), lwd=par("lwd"), lty=par("lty"), 
                 line=0) 
breaks.render(breaks, side, scale=NULL, col=par("col"),  
              lwd=par("lwd")) 
labels.render(labels, side, scale=NULL, adj=par("adj"),  
              cex=par("cex"), col=par("col"), font=par("font"),  
              srt=par("srt"), min.gap=1) 
ticks.render(ticks, side, double.=0, scale=NULL, col=par("col"),  
             lwd=par("lwd"), lty=par("lty")) 

REQUIRED ARGUMENTS:

side
the side of the plot: 1 for bottom, 2 for left, 3 for top, and 4 for right.
breaks
a list specifying axis breaks (see documentation in axis.render).
labels
a list specifying labels (see documentation in axis.render).
ticks
a list specifying tick marks (see documentation in axis.render).

OPTIONAL ARGUMENTS:

scale
the scale to use for the coordinates parallel to side. Can be NULL if the at elements of ticks, labels, and breaks are in what plot considers to be the user coordinates for the plot. If the at elements are given as calendar times or in user coordinates which are piecewise-linear transformations of plot coordinates, then scale is a 2-element list where the first element is a monotonic sequence in user-coordinates giving the endpoints of the linear regions, and the second element is the plot coordinates of those points. Coordinates which lie outside the scale region will be moved to the ends and a warning will generated.
double.
if > 0, use double tick marks, with the second mark up or to the right by this amount.
adj
string justification, as in par.
cex
character expansion, as in par.
col
drawing color, as in par.
font
text font, as in par.
lty
line type of lines, as in par.
lwd
width of lines, as in par.
srt
string rotation, as in par.
line
distance from plot (measured out from the plot in units of standard-sized character heights) at which the axis line will be plotted.
min.gap
minumum gap reqired between axis labels, in characters.

VALUE:

NULL.

SIDE EFFECTS:

These functions cause tick marks ( ticks.render), tick labels ( labels.render), an axis line ( axis.line.render), or axis break indicators ( breaks.render) to be added to the current plot.

DETAILS:

These functions are meant to be called from the axis.render function. See documentation there for a detailed description of the input lists.

SEE ALSO:

EXAMPLES:

plot(1:10,1:10,axes=F) 
ticks.render(list( at = 1:10 ), 1) 
breaks.render(list( at = 5.5 ), 1) 
axis.line.render(1) 
labels.render(list( at = 1:10, text = 1:10 ), 1)