This is an old revision of the document!
To create a Color Map Plot, open Table with matrix data, open context menu and select Create Figure
→ Color Map
or use Create Figure
button on Toolbar.
Selection in table is ignored, the whole table is used for plotting matrix.
Color Map can be configured in Properties dialog which can be opened by double click of using context menu.
X and Y data for plotting can be specified in 'Data' tab of Properties dialog. MagicPlot supports 3 alternatives for X and Y values for plotting matrix:
In MagicPlot Color Map Plot is treated as generalized 'curve', so it can be combined on one plot with other curves in one Axes box. Color Map Plot is shown in 'Components' list in Figure properties dialog. The drawing sequence can be changed in this list. You can copy and paste Color Map Plots between Figures and Axes boxes.
The most often used properties of Color Map Plot can be changed on Inspector toolbar (second row of main window toolbar). The full settings list is available in Properties dialog which can be opened by double click on Color Map or from context menu.
Color Map style and legend color bar style can be edited in Color Map Properties dialog:
Color Map palette can be customized by pressing 'Customize' button on 'Style' tab of Color Map properties dialog.
MagicPlot contains several build-in palette presets. After editing palette you can also save your own preset by pressing 'Save Preset' button. Selected preset can be renamed or deleted using 'Menu' button.
Custom presets are saved in files with .mppc extension. You can open folder which contains custom presets files using 'Menu' button. Use 'Reload Presets List' menu item after adding new files in presets folder.
You can import palette from other applications or text files using 'Menu' button. MagicPlot supports RGB values and hexadecimal color codes.
Current palette setting will be overridden (this operation can be undone).
You can paste red, green, blue
values or red, green, blue, alpha
values in opened dialog box. Values must be separated by comma, semicolon, tab or space, one color per line. Both 0…1 and 0.255 values are automatically supported.
Comma as decimal separator is supported only if values are separated by tabs or semicolons. Otherwise only dot must be used as decimal separator.
Paste hexadecimal color codes in opened window. Values can be with or without '#' prefix. Values must be separated by new line, comma, tab or space character.
MagicPlot renders color map plot as a high-resolution raster image which is included into vector image file (EPS, PDF, SVG, EMF). Therefore file size does not depend on data matrix dimensions. The resolution of color map image is set by DPI value in Canvas tab of Figure properties dialog.
Postscript (EPS) and EMF image format does not support transparency in color maps.
In 'Smooth' and 'Manual Levels' color interpolation modes MagicPlot interpolates colors in sRGB color space.
MagicPlot supports 3 color map spatial interpolation modes: nearest neighbor (off), bilinear and bicubic.
MagicPlot performs bicubic interpolation using cubic Hermite spline. For uniform (equally spaced) x and y values this method is equal to the conventional bicubic interpolation algorithm (which is widely used for image resizing) with coefficient a=-0.5
.