plotStackProfileLegend {epistack} | 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.
plotStackProfileLegend(zlim = c(0, 2), palette = colorRampPalette(c("white", "grey", "black")))