Color routines
Ngl.define_colormap | Defines a new color map for the given workstation. |
Ngl.draw_color_palette | Draws the given color map and advances the frame. |
Ngl.draw_colormap | Draws the current color map associated with the workstation and advances the frame. |
Ngl.free_color | Removes a color entry from a workstation. |
Ngl.get_named_color_index | Returns the color index whose associated color on the given workstation is closest to the color name supplied. |
Ngl.hlsrgb | Converts from the HLS color space to RGB. |
Ngl.hsvrgb | Converts from the HSV color space to RGB. |
Ngl.merge_colormaps | Merges two color maps to create a new color map for the given workstation. |
Ngl.new_color | Adds the given color to the end of the color map of the given workstation. |
Ngl.read_colormap_file | Reads the given color map and returns an array of RGBA tuples. |
Ngl.retrieve_colormap | Retrieves the current color map associated with the given workstation. |
Ngl.rgbhls | Converts from the RGB color space to HLS. |
Ngl.rgbhsv | Converts from the RGB color space to HSV. |
Ngl.rgbyiq | Converts from the RGB color space to YIQ. |
Ngl.set_color | Sets a color in the color map of the given workstation. |
Ngl.yiqrgb | Converts from the YIQ color space to RGB. |