View source: R/plotStackProfileLengend.R
plotStackProfileLegend | R Documentation |
Utility function to plot the corresponding legend key of
plotStackProfile()
's plots.
plotStackProfileLegend(
zlim,
palette = colorRampPalette(c("white", "grey", "black")),
title = NA
)
zlim |
the limits of the values to be displayed.
Format: |
palette |
a palette of color, (i.e. a function of parameter n that should retrun n colors). |
title |
an optionnal title to be display bellow the color legend. |
Display a plot.
plotStackProfile
plotStackProfileLegend(zlim = c(0, 2),
palette = colorRampPalette(c("white", "grey", "black")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.