scmanual | R Documentation |
This scale function allows you complete control over the scale.
scmanual(
plot,
variable = "x",
name = "",
breaks = NULL,
labels = as.character(breaks),
grob = function(x) grob_point(x, unique = FALSE)
)
plot |
plot |
variable |
variable ("x" or "y") |
name |
namen of the scale (used in the legend) |
breaks |
set breaks manually |
labels |
character vector of break labels |
grob |
grob function to use when drawing legend |
Supply labels and breaks to produce a legend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.