ColorMaps QML Type
Utility functions for color maps. More...
Import Statement: | import QuickGraphLib |
Methods
- string colorMapName(enumeration colorMapName)
- list<color> colors(enumeration colorMapName)
Detailed Description
See also ImageView, Builtin color maps, and Color mapped images.
Method Documentation
string colorMapName(enumeration colorMapName) |
Returns the name of the color map colorMapName.
See also ColorMaps::colors.
list<color> colors(enumeration colorMapName) |
Returns the list of colors that are used in colorMapName. These colors are equally spaced over the range of values.
colorMapName can take one of the following options:
Constant | Description |
---|---|
ColorMaps.Cividis | Monotonically increasing colormap (blue/brown/yellow) |
ColorMaps.Grayscale | Monotonically increasing colormap (black/white) |
ColorMaps.Inferno | Monotonically increasing colormap (black/red/yellow) |
ColorMaps.Magma | Monotonically increasing colormap (blue/purple/red/yellow) |
ColorMaps.Plasma | Monotonically increasing colormap (black/purple/red/yellow) |
ColorMaps.Turbo | Multihue colormap (blue/green/yellow/red) |
ColorMaps.Twilight | Cylical colormap (white/blue/black/red/white) |
ColorMaps.TwilightShifted | Cylical colormap (black/blue/white/red/black) |
ColorMaps.Viridis | Monotonically increasing colormap (purple/green/yellow) |
More information about these colormaps can be found at in the matplotlib documentation.