drawAxis | R Documentation |
ggplot2::ggplot() + ggplot2::scale_x|y_continuous(...)
instead.Deprecated: use ggplot2::ggplot() + ggplot2::scale_x|y_continuous(...)
instead.
drawAxis(
graph = NULL,
xName = waiver(),
yName = waiver(),
breaks = waiver(),
xBreaks = waiver(),
yBreaks = waiver(),
dat = NULL,
xLabels = waiver(),
yLabels = waiver(),
xLimits = waiver(),
yLimits = waiver(),
force = FALSE,
secondaryXaxis = waiver(),
secondaryYaxis = waiver(),
xTrans = "identity",
yTrans = "identity"
)
graph |
ggplot object. |
xName |
name for x-axis. |
yName |
name for y-axis. |
breaks |
a list with $xBreaks and $yBreaks or waiver(). |
xBreaks |
x-axis breaks. |
yBreaks |
y-axis breaks. |
dat |
data.frame. |
xLabels |
labels for x-axis. |
yLabels |
labels for y-axis. |
xLimits |
limits for x-axis. |
yLimits |
limits for y-axis. |
force |
force the axes to be present at the cost of drawing an invisible geom. |
secondaryXaxis |
secondary x-axis. |
secondaryYaxis |
secondary y-axis. |
xTrans |
transformation function for the x-axis. |
yTrans |
transformation function for the y-axis. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.