Draw an X-Axis
These functions create and draw an x-axis.
1 2 3 4 5 6 7
A numeric vector of x-value locations for the tick marks.
A logical value indicating whether to draw the labels
on the tick marks, or an expression or character vector which
specify the labels to use. If not logical, must be the same
length as the
A logical value indicating whether to draw the axis
at the bottom (
A gEdit or gEditList containing edit operations
to apply (to the children of the axis)
when the axis is first created and during redrawing
A character identifier.
An object of class
A logical value indicating whether graphics output should be produced.
A Grid viewport obect (or
Both functions create an xaxis grob (a graphical object describing an
xaxis), but only
draws the xaxis (and then only if
An xaxis grob.
grid.xaxis returns the value invisibly.
at slot of an xaxis grob is not
the xaxis will have the following children:
representing the line at the base of the tick marks.
representing the tick marks.
representing the tick labels.
at slot is
NULL then there are no children
and ticks are drawn based on the current viewport scale.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.