Description Usage Arguments Details Examples
View source: R/annotation_axis.R
Draw Annotation Axis
1 2 | 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.
1 2 | # 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.