colorbar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


plottools

  

colorbar

  

generate a colorbar plot object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

colorbar(range, colors, options)

Parameters

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.

Description

• 

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.

Examples

Color bars can be added to plots with plots:-display.

plots:-displayplottools:-polygonbyname4,color=Viridis 128,plottools:-colorbar1..255,Viridis

Compatibility

• 

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

plottools