grid_axTicks | R Documentation |
get the locations for ticks for custom grid
grid_axTicks(object, side)
object |
a gsplot object |
side |
a numeric side |
grid_axTicks uses different methods to get tick locations
depending on the class of the data on that side
. For numeric data,
axTicks
, for other data (only tested Date and POSIX),
axis.Date
and axis.POSIXct
are used,
but the actual plotting of ticks is suppressed.
This function is really hard to test because it uses the actual plot to get tick locations,
so it is hard to isolate.
a numeric vector of locations for ticks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.