View source: R/GGPlot2Tools_GGPlotCustomTicks.R
Creates custom ticks with labels. Requires a finished ggproto object. Can be piped with
1 2 3 4 5 6 7 8 9 10 11 12 13 | GGPlotCustomTicks(
plt,
side,
breaks,
labels,
tckSz,
trnsf = identity,
gp = gpar(),
rot = 0,
deltaH = 0,
deltaV = 0,
tickGp = gpar()
)
|
plt |
Target plot. |
side |
Indicates axis. Can be either |
breaks |
Breaks in the axis scale. |
labels |
Respective text labels. |
tckSz |
Relative size of the tick. |
trnsf |
Trnsformation function. Should match |
gp |
A |
rot |
Rotation of labels, deg. |
deltaH |
Additional horizontal text shift. If affected by |
deltaV |
Additional vertical text shift. Is affected by |
tickGp |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.