<< cla Matlab-like plotting library colormap >>

Matlab-like plotting library >> Matlab-like plotting library > colorbar

colorbar

adds a colorbar to the current shaded plot

Calling Sequence

colorbar(position)

Parameters

position

string

Description

Displays a colorbar in the functions that produce shaded color graphs, e.g. surf, surfl, pcolor, ... (see examples below).

The string S can take the values

Examples

surf;
colorbar top

Screenshot

See Also

Authors


Report an issue
<< cla Matlab-like plotting library colormap >>