real2rgb & colormaps

Converts intensity matrices into truecolor images.

Download
Download

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.9.0

Updated description as this function is to be maintained in the sc package only.

Download
1.8.0

Fix bug when converting matrices containing Inf or -Inf without specifying limits. Thanks to Ming Wu for reporting it.

Download
1.7.0

Fixed bug reported by Peter Nave (thanks!) whereby colormaps of 1024x3 are returned (too big for Windows colorbars).

Download
1.5.0

Added cold and dusk colormaps

Download
1.4.0

Bug fix

Download
1.3.0

A few bug fixes and efficiency improvements. Also, colormap functions return concise table when input == Inf rather than < 0.

Download
1.2.0

Now faster when using non-linear colormaps, thanks to a suggestion by Steve Lord to use histc.

Download
1.1.0

Two important bug fixes, increased colormap size used to 1024 (from 256), and added pink (standard) and bright (new) colormaps.

Download
1.0.0

Download