plottools
colorbar
generate a colorbar plot object
Calling Sequence
Parameters
Description
Examples
Compatibility
colorbar(range, colors, options)
range
-
a real range given as a..b for the limits of the labels
colors
a list of colors, a color scheme name, or a ColorTools:-Palette object to specify the colors of colorbar
options
(optional) equations of the form option=value. For a complete list, see plot/colorbar.
The colorbar command creates a plot structure that will display as a vertical color bar with labels next to a plot. The first argument determines the range. The specific labels and how they are displayed can be controlled with the options described in plot/colorbar.
Color bars can be added to plots with plots:-display.
plots:-display⁡plottools:-polygonbyname⁡4,color=Viridis 128,plottools:-colorbar⁡1..255,Viridis
The plottools[colorbar] command was introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
plot/colorbar
plot/structure
plots:-display
Download Help Document