colormap

View and set current colormap.

📝 Syntax

  • colormap(map)

  • colormap(target ,map)

  • cmap = colormap()

  • cmap = colormap(target)

📥 Input argument

  • map - colormap name, 'default' or RGB triplets (matrix).

  • target - Target: figure or axes.

📤 Output argument

  • cmap - Colormap values: RGB triplets (matrix).

📄 Description

colormap allows to view and set the colormap used into a plot.

💡 Examples

🔗 See also

rgbplot.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?