A covenience function intended for basic, fixed-scale plots only (i.e. does not handle
free scales in facets).
You need to pass in a ggplot2 object to this function. It can't be +
'd in a chain
of geoms, coords, scales, themes, etc. It also builds the plot (but does not display
it) so if the plt takes a while (i.e. has lots of data or transforms) this will also
take a while.
flush_ticks(gg, flush = "XY", plot = TRUE, cat = TRUE)
gg | ggplot2 plot object |
---|---|
flush | either " |
plot | if |
cat | if |
ggplot2 object with theme()
elements added
Intended for basic, fixed-scale plots only (i.e. does not handle free scales in facets).