scmanual {ggplot} | R Documentation |
Create a manual scale
scmanual(plot = .PLOT, variable="x", breaks=NULL, labels=as.character(breaks), grob=function(x) grob_point(x, unique=FALSE))
plot |
plot object to add scale to |
variable |
variable to scale |
breaks |
numeric vector of break points |
labels |
character vector of break labels |
grob |
grob function to use when drawing legend |
This scale function allows you complete control over the scale.
Hadley Wickham <h.wickham@gmail.com>
ggfluctuation
for a use