Description Usage Arguments Details Note Author(s) Examples
This function adds horizontal and/or vertical grid lines to an existing plot. The grid lines are aligned with tick marks.
1 |
linesPerTick |
Number of lines between successive tick marks (including the line on the tickmarks themselves) |
horiz |
Draw horizontal grid lines? |
vert |
Draw vertical tick lines? |
col |
Specifies color of the grid lines |
lty |
Specifies line type of grid lines. See |
If linesPerTick
is not specified, it is set to 5 if number of tick s is 5 or less, and it
is set to 2 if number of ticks is greater than 5.
The function does not work whenever logarithmic scales are in use.
Peter Langfelder
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.