1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
5
<TITLE>getcolor</TITLE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 2004</DATE>
8
<SHORT_DESCRIPTION name="getcolor"> opens a dialog to show colors in the current colormap</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>c=getcolor(title,[cini]) </CALLING_SEQUENCE_ITEM>
11
<CALLING_SEQUENCE_ITEM>c=getcolor() </CALLING_SEQUENCE_ITEM>
16
<PARAM_NAME>title</PARAM_NAME>
18
<SP>: string, dialog title.</SP>
22
<PARAM_NAME>cini</PARAM_NAME>
24
<SP>: initial selected color id. Default value is 1.</SP>
28
<PARAM_NAME>c</PARAM_NAME>
30
<SP>: selected color id or [] if the user has clicked on the "Cancel" button.</SP>
36
<P><VERB>getcolor</VERB> opens a window displaying the palette of the current colormap.
37
The user can click on a color to show its id and RGB values.
38
<VERB>getcolor</VERB> returns the id of the selected color or [] if the user has clicked
39
on the "Cancel" button</P>