Open the colors dialog that allow the color picker button to get screen pixel color.
X-Function not designed for Auto GetN Dialog.
1. int result;colors result;result=;
2. colors p:=1;
3. colors p:=1 i:=color(#1F4DB4);
4. colors v1 i:=color(#1F4DB4); //result is in v1
This function is used to Open the colors dialog that allow the color picker button to get screen pixel color. You can also select color by specifying RGB or HSL values.
The following codes open the Color dialog with Purple as default color, and you can then select a color and print that color in both OCOLOR value and RGB value.
colors out:=v1 init:=10;
Assume a graph with scatter plot is active. Run the following code to pick a color from screen and set this color to scatter symbols.
set %C -c v1;