- Aide de Scilab
- Interface graphique
- Borders
- Layouts
- uitree
- exportUI
- getvalue
- root_properties
- x_choices
- x_choose
- x_dialog
- x_mdialog
- about
- addmenu
- clipboard
- close
- Console properties
- createWindow
- delmenu
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- Interactive Editor
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- saveGui
- setlookandfeel
- setmenu
- toolbar
- toprint
- tree_show
- uicontextmenu
- uicontrol
- uicontrol properties
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uimenu properties
- uiputfile
- unsetmenu
- usecanvas
- waitbar
- x_choose_modeless
- x_matrix
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
uigetcolor
Opens a dialog for selecting a color.
Calling Sequence
uigetcolor() RGB = uigetcolor([title]) RGB = uigetcolor([title,] defaultRGB) RGB = uigetcolor([title,] defaultRed, defaultGreen, defaultBlue) [R, G, B] = uigetcolor([title]) [R, G, B] = uigetcolor([title,] defaultRGB) [R, G, B] = uigetcolor([title,] defaultRed, defaultGreen, defaultBlue)
Arguments
- title
String: Optional argument, the title to display in the dialog. Default value is "Color Chooser".
- defaultRGB
1x3 vector: the default values for Red, Green and Blue values given as a vector [red, green, blue].
- defaultRed
Scalar: the default value for red.
- defaultGreen
Scalar: the default value for green.
- defaultBlue
Scalar: the default value for blue.
- RGB
1x3 vector: the values for Red, Green and Blue values given as a vector [red, green, blue] or [] if the user cancels.
- R
Scalar: the value for red or [] if the user cancels.
- G
Scalar: the value for green or [] if the user cancels.
- B
Scalar: the value for blue or [] if the user cancels.
Description
Creates a dialog window for selecting a color. All (default and returned) values must be in the interval [0 255].
Examples
uigetcolor() [R, G, B] = uigetcolor([255 128 0]) RBG = uigetcolor(0, 128, 255) RBG = uigetcolor("My color chooser", 0, 128, 255)
See Also
- getcolor — opens a dialog to show colors in the current colormap
Report an issue | ||
<< uicontrol properties | Interface graphique | uigetdir >> |