View source: R/coord_hourglass.R
CoordHourglass | R Documentation |
A Cartesian coordinate system that adds sensible
guides to axes in a geom_hourglass()
layer. It is added automatically
to geom_hourglass()
. There is no need to explicitly add it to a ggplot,
unless you wish to tweak the coordinate system.
CoordHourglass
coord_hourglass(
xlim = NULL,
ylim = NULL,
expand = TRUE,
default = FALSE,
clip = "on",
date_labels = "%H:%M",
layer = NULL,
...
)
xlim , ylim |
Limits for the x and y axes. |
expand |
If |
default |
Is this the default coordinate system? If |
clip |
Should drawing be clipped to the extent of the plot panel? A
setting of |
date_labels |
Formating string for formatting the time
labels on the axis. By default it is |
layer |
This argument allows you to pass the |
... |
Arguments passed as extra |
An object of class CoordHourglass
(inherits from CoordCartesian
, Coord
, ggproto
, gg
) of length 3.
Returns a ggproto
object inheriting from coord_cartesian()
.
Pepijn de Vries
coord_hourglass()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.