This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
colormap [Tue Jun 28 23:05:26 2016] Alexander |
colormap [Thu Jan 14 17:15:59 2021] Alexander |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Color Map Plots ====== | ====== Color Map Plots ====== | ||
- | To create a Color Map Plot, open Table with matrix data, open context menu and select '' | + | To create a Color Map Plot, open the Table with matrix data, open a context menu and select '' |
- | Selection in table is ignored, the whole table is used for plotting matrix. | + | Selection in the table is ignored, the whole table is used for plotting matrix. |
+ | |||
+ | MagicPlot Student edition cannot create Color Map Plots but these plots can be edited in the Student edition if you open a project file which was created in the Pro edition. | ||
{{:: | {{:: | ||
- | Color Map can be configured in Properties dialog which can be opened by double click of using context menu. | + | The Color Map Plot can be configured in the Properties dialog which can be opened by double click on the Color Map or using the context menu. |
{{:: | {{:: | ||
- | ===== Specifying X/Y Data of Color Map Plot ===== | + | ===== Specifying X/Y Data for Color Map Plot ===== |
- | X and Y data for plotting can be specified in ' | + | X and Y data for plotting can be specified in the ' |
- Manual range | - Manual range | ||
- Values from first row or column | - Values from first row or column | ||
- Column from another table | - Column from another table | ||
+ | |||
+ | The non-uniform (not equally spaced) data in the X/Y columns is supported. The values can also be unsorted. | ||
{{:: | {{:: | ||
Line 23: | Line 27: | ||
===== Color Map Plots and other Curves ===== | ===== Color Map Plots and other Curves ===== | ||
- | In MagicPlot Color Map Plot is treated as generalized 'curve', so it can be combined on one plot with other curves | + | In MagicPlot |
+ | |||
+ | 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, | ||
{{:: | {{:: | ||
Line 31: | Line 39: | ||
===== Customizing Color Map Plot ===== | ===== Customizing Color Map Plot ===== | ||
- | 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. | + | 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. |
{{:: | {{:: | ||
- | Color Map style and legend color bar style can be edited in Color Map Properties dialog: | + | The Color Map style and the legend color bar style can be edited in the Color Map Properties dialog: |
{{:: | {{:: | ||
Line 43: | Line 51: | ||
===== Customizing Color Map Palette ===== | ===== Customizing Color Map Palette ===== | ||
- | Color Map palette can be customized by pressing ' | + | The Color Map palette can be customized by pressing |
{{:: | {{:: | ||
+ | |||
+ | 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 ===== | ===== Color Map Palette Presets ===== | ||
- | MagicPlot contains several build-in palette presets. After editing palette you can also save your own preset by pressing 'Save Preset' | + | MagicPlot contains several build-in palette presets. After editing |
+ | |||
+ | 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 ===== | ||
- | Custom | + | More palette |
===== Creating Palette from Color List ===== | ===== Creating Palette from Color List ===== | ||
- | You can import palette from other applications or text files using ' | + | You can import |
- | Current | + | The current |
{{:: | {{:: | ||
Line 63: | Line 82: | ||
==== Pasting RGB(A) Values ==== | ==== Pasting RGB(A) Values ==== | ||
- | You can paste '' | + | You can paste '' |
- | Comma as decimal separator is supported only if values are separated by tabs or semicolons. Otherwise | + | The comma as a decimal separator is supported only if values are separated by tabs or semicolons. Otherwise |
{{:: | {{:: | ||
Line 71: | Line 90: | ||
==== Pasting Hexadecimal Color Codes ==== | ==== Pasting Hexadecimal Color Codes ==== | ||
- | Paste hexadecimal color codes in opened window. | + | Paste hexadecimal color codes in the opened window. |
{{:: | {{:: | ||
Line 77: | Line 96: | ||
===== Technical notes ===== | ===== Technical notes ===== | ||
- | ==== Exporting of Vector Image ==== | + | ==== Exporting of a Vector Image ==== |
- | MagicPlot renders | + | MagicPlot renders |
- | Postscript (EPS) and EMF image format does not support transparency in color maps. | + | The Postscript (EPS) and EMF image format does not support |
+ | |||
+ | ==== 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 ==== | ==== Color Interpolation ==== | ||
- | In ' | + | In the ' |
==== Bicubic Image Interpolation ==== | ==== Bicubic Image Interpolation ==== | ||
- | MagicPlot supports 3 color map spatial interpolation modes: nearest neighbor | + | MagicPlot supports 3 color map spatial interpolation modes: |
+ | |||
+ | MagicPlot performs the bicubic interpolation using the [[wp> | ||
+ | |||
+ | ===== See Also ===== | ||
- | MagicPlot performs bicubic interpolation using [[wp>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 '' | + | * [[palettes]] |