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 23:02:14 2016] Alexander |
colormap [Thu Jan 14 17:17:50 2021] (current) Alexander |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Color Map Plots ====== | ====== Color Map Plots ====== | ||
- | To create | + | To create |
+ | |||
+ | Selection in the table is ignored, the whole table is used for plotting | ||
{{:: | {{:: | ||
- | 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 ===== |
- | MagicPlot supports 3 alternatives for X and Y data for plotting matrix: | + | X and Y data for plotting can be specified in the ' |
- Manual range | - Manual range | ||
- | - Values from first row and column | + | - Values from first row or column |
- | - Columns | + | - Column |
+ | |||
+ | The non-uniform (not equally spaced) data in the X/Y columns is supported. The values can also be unsorted. | ||
{{:: | {{:: | ||
Line 21: | Line 25: | ||
===== 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 29: | Line 37: | ||
===== 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 41: | Line 49: | ||
===== 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 61: | Line 80: | ||
==== 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 69: | Line 88: | ||
==== Pasting Hexadecimal Color Codes ==== | ==== Pasting Hexadecimal Color Codes ==== | ||
- | Paste hexadecimal color codes in opened window. | + | Paste hexadecimal color codes in the opened window. |
{{:: | {{:: | ||
Line 75: | Line 94: | ||
===== 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]] |