gridlinesGrob | R Documentation |
Return a grob object that contains graphic object of four axes.
gridlinesGrob(
xy.axes,
at = list(NULL, NULL),
lwd = 1,
col = 2,
lty = 1,
vp = NULL,
name = "gridlines",
...
)
grid.gridlines(...)
xy.axes |
The axes definition produced by |
at |
A list of length 2 containing the locations where the grid lines
should be drawn. The first list component contains the values on the |
lwd |
Scalar or list of length 2 containig line width for grid lines |
col |
Scalar or list of length 2 containing color if the grid lines |
lty |
Scaler or list of length 2 containing the |
vp |
Viewport to draw to |
name |
name of the |
... |
Additional argument passed to |
A gTree
that contains the gridlines grobs, under child names
vertical
and horizontal
. A NULL
component does not draw grid lines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.