Colours

Home ] Up ] General ] Short ] Syntax ] Postscript ] Hints ] Cursor ] DSN ] Arithmetik ] Line Modes ] [ Colours ] Polar ] 2Dim ] 3Dim ] Analyzers ] Library ] Types ] Text ] Graphic ] Inbed ] Fit ] Presentation ] Extend ] Concepts ] Dynamic ] Listmode ] Macros ] Goosydata ] Online ] Commands (List) ] Commands (Details) ] Install ] MSWindows ] Problems ]

GSI
FRS

 

 

SATAN Help

HOW TO DEFINE COLORS:
======================

Colors are defined by additive mixing of "R"ead, "G"reen, and "B"lue.
The syntax is demonstrated by the figure below:

   

      (green)
       G 
       |      RGG
       |            (yellow)
      GGB            RG
       |                   RRG
       | 
       GB      RGB                 R(red)
       |        (white) 
       |                   RRB
      GBB            RB
       |            (pink)
       |      RBB
       B 
      (blue)
       

==>  H:   X      Y,LTRG12
  The data symbols (12) and the thick line (LT) will be drawn in yellow (RG).   

==>  W: {Blibli} / XR(0.5) YR(0.5) 
==>  W: {Blabla} / Next(2) H(R)
==>  W: {Bloblo} / Next  
==>  W: {Blublu} / Cont H(D)
 
Write the text "Blibli" on the figure in black color. (Black is the initial default color.) Switch to red for writing the text "Blabla", keep the red color for writing "Bloblo", and switch back to the default color black for writing the text "Blublu". 

The number of available colors depends on the graphics device. E.g. "RRRB" would specify a red color with a small blue contribution.    

Note that "RGB" means "white" (according to additive color mixing!), the background color. If no color is specified, the default color "black" is assumed for drawing data symbols, data lines and graphic elements. Also for writing a text, the default color is black. However,  the default pen color "D" must be specified to switch back from the color of an eventual preceding command (see example above).