Scilab 5.5.0
- Scilab Help
- Graphics
- Color management
- addcolor
- autumncolormap
- bonecolormap
- color
- color_list
- colorbar
- colordef
- colormap
- coolcolormap
- coppercolormap
- getcolor
- graycolormap
- hotcolormap
- hsv2rgb
- hsvcolormap
- jetcolormap
- name2rgb
- oceancolormap
- pinkcolormap
- rainbowcolormap
- rgb2name
- springcolormap
- summercolormap
- whitecolormap
- wintercolormap
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
getcolor
opens a dialog to show colors in the current colormap
Calling Sequence
c=getcolor(title,[cini]) c=getcolor()
Arguments
- title
string, dialog title.
- cini
initial selected color id. Default value is 1.
- c
selected color id or [] if the selection is cancelled.
Description
getcolor
opens a window displaying the palette of the current colormap.
The user can click on a color to show its id and RGB values.
getcolor
returns the id of the selected color or [] if the "Cancel" button has been clicked or the window closed.
Examples
getcolor(); getcolor("Title foo"); getcolor("foo",21); // Select the red
Report an issue | ||
<< coppercolormap | Color management | graycolormap >> |