View source: R/annotation_axis.R
grid.annotation_axis | R Documentation |
Draw Annotation Axis
grid.annotation_axis(at = NULL, labels = at, labels_rot = 0, gp = gpar(),
side = "left", facing = "outside", direction = "normal")
at |
Break values. If it is not specified, it is inferred from data scale in current viewport. |
labels |
Corresponding labels. |
labels_rot |
Rotations of labels. |
gp |
Graphic parameters. |
side |
side of the axis of the annotation viewport. |
facing |
Facing of the axis. |
direction |
direction of the axis. Value should be "normal" or "reverse". |
It uses annotation_axis_grob
to construct the grob object, then use grid.draw
to draw the axis.
# See examples in `annotation_axis_grob`
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.