View source: R/pageGuideVertical.R
pageGuideVertical | R Documentation |
Draw a vertical guideline at a specified x-coordinate on a plotgardener page
pageGuideVertical(
x,
default.units = "inches",
linecolor = "grey55",
params = NULL,
...
)
x |
A numeric or unit object specifying x-coordinate of guide. |
default.units |
A string indicating the default units to use
if |
linecolor |
Character value indicating color of guideline.
Default value is |
params |
An optional pgParams object containing relevant function parameters. |
... |
Additional grid graphical parameters. See gpar. |
None.
## Create a page
pageCreate(width = 6, height = 5, default.units = "inches")
## Add blue vertical guideline at x = 1.7 inches
pageGuideVertical(x = 1.7, linecolor = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.