This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
colormap [Tue Jun 28 16:15:58 2016] Alexander |
colormap [Thu Jan 14 17:17:50 2021] Alexander |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Color Map Plots ====== | ====== Color Map Plots ====== | ||
+ | To create a Color Map Plot, open the Table with matrix data, open a context menu and select '' | ||
+ | Selection in the table is ignored, the whole table is used for plotting matrix. | ||
- | ===== Color Interpolation ===== | + | {{:: |
- | MagicPlot interpolates colors | + | The Color Map Plot can be configured |
- | ===== Spatial Image Interpolation ===== | + | {{:: |
- | MagicPlot supports 3 color map interpolation modes: nearest neighbor (off), bilinear and bicubic. | + | ===== Specifying X/Y Data for Color Map Plot ===== |
- | ==== Bicubic Interpolation ==== | + | X and Y data for plotting can be specified in the ' |
- | MagicPlot performs bicubic interpolation | + | - Manual range |
+ | - Values from first row or column | ||
+ | - Column from another table | ||
+ | |||
+ | The non-uniform (not equally spaced) data in the X/Y columns is supported. The values can also be unsorted. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ===== Color Map Plots and other Curves ===== | ||
+ | |||
+ | In MagicPlot the Color Map Plot is treated as a generalized ' | ||
+ | |||
+ | The axes grid (if it is switched on) is drawn on top of the last (upper) Color Map Plot in the Axes box. | ||
+ | |||
+ | You can select, copy and paste Color Map Plots between Figures and Axes boxes as any other Curves. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ===== Customizing Color Map Plot ===== | ||
+ | |||
+ | The most often used properties of a Color Map Plot can be changed on the Inspector toolbar (the second row of main window toolbar). The full settings list is available in the Properties dialog which can be opened by double click on the Color Map or from context menu. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | The Color Map style and the legend color bar style can be edited in the Color Map Properties dialog: | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ===== Customizing Color Map Palette ===== | ||
+ | |||
+ | The Color Map palette can be customized by pressing the ' | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | The buttons below the color table are: | ||
+ | |||
+ | * **Insert Before** -- inserts a new line before the current selection. The default color and data level values for the new line are calculated as the average of the values from the previous and the next lines. | ||
+ | * **Remove** -- removes selected lines from table. | ||
+ | * **Distribute Evenly** -- evenly distributes levels and colors in selected lines or in the whole table if less then 3 lines are selected. | ||
+ | * **Invert Sequence** -- inverts the sequence of colors; the new data levels are calculated as 1-L where L is the initial level value. | ||
+ | |||
+ | ===== Color Map Palette Presets ===== | ||
+ | |||
+ | MagicPlot contains several build-in palette presets. After editing a palette you can also save your own preset by pressing the 'Save Preset' | ||
+ | |||
+ | Custom presets are saved in files with the .mppc extension. You can open the folder which contains custom preset files using the ' | ||
+ | |||
+ | ===== Get More Palette Presets ===== | ||
+ | |||
+ | More palette presets can be found on this page: [[palettes]] | ||
+ | |||
+ | ===== Creating Palette from Color List ===== | ||
+ | |||
+ | You can import a palette from other applications or text files using the ' | ||
+ | |||
+ | The current palette setting will be overridden (this operation can be undone). | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ==== Pasting RGB(A) Values ==== | ||
+ | |||
+ | You can paste '' | ||
+ | |||
+ | The comma as a decimal separator is supported only if values are separated by tabs or semicolons. Otherwise the dot only must be used as a decimal separator. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ==== Pasting Hexadecimal Color Codes ==== | ||
+ | |||
+ | Paste hexadecimal color codes in the opened window. The values can be with or without the '#' | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ===== Technical notes ===== | ||
+ | |||
+ | ==== Exporting of a Vector Image ==== | ||
+ | |||
+ | MagicPlot renders the Color Map Plot as a high-resolution raster image which is included into the vector image file (EPS, PDF, SVG, EMF). Therefore the file size does not depend on the data matrix dimensions. The resolution of the Color Map image is set by the DPI value in the ' | ||
+ | |||
+ | The Postscript (EPS) and EMF image format does not support the transparency in the color maps. | ||
+ | |||
+ | ==== Palette Colors Storage ==== | ||
+ | |||
+ | MagicPlot store palette colors as 4 floating-point numbers (Red, Green, Blue, Opacity). Note that even if color components are represented in 0...255 range, the fractional digits still make sense if smooth color interpolation is selected. | ||
+ | |||
+ | ==== Color Interpolation ==== | ||
+ | |||
+ | In the ' | ||
+ | |||
+ | ==== Bicubic Image Interpolation ==== | ||
+ | |||
+ | MagicPlot supports 3 color map spatial interpolation modes: off (nearest neighbor), bilinear and bicubic. | ||
+ | |||
+ | MagicPlot performs | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | * [[palettes]] |