Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Edit Item Colors
To change the color of an item (Screen, Grid, Cursors, Left In, Right In, Left Out, or Right Out) click on its button here first. The colored square to the left of each button shows the current color. Then either adjust the Red, Green, Blue controls to change it, or click Palette to get the standard Windows Color selection dialog.
Normally, you will probably want to use the ColorNum command to set colors directly, without first selecting an item and then giving separate commands to set Red, Green, and Blue. For example, ColorNum#L=h00FF00 sets Left Input to pure green. The value given may be a constant (as here) or a variable or expression. Values will be limited to 24 bits (0xFFFFFF or 16777215).
Please note that the Edit Color - Red, Green, Blue buttons are shown in the conventional RGB order, while Windows colors (and ColorNum) use the reverse order. For example, hFF0000 is pure blue, and h0000FF is pure red.
The single character after the # specifies the item to be changed:
S = Scrn G = Grid C = Curs L = LI R = RI l = LO r = RO c = Ch select color
If you use the c option, the current channel number 0-3 previously set via Channel Select Ch is used to set the color of LI to RO, respectively.
Conversely, you can read any of these color values, or use it in an expression, by using ? in place of #, as in X=ColorNum?c. This is convenient for setting Macro Array display colors to match main trace colors.
To use macros to emulate the manual operation of selecting an item before adjusting its color, use Color=Scrn, Color=Grid, Color=Curs, Color=LI, Color=RI, Color=LO, or Color=RO.
0 = Scrn 1 = Grid 2 = Curs 3 = LI 4 = RI 5 = LO 6 = RO
See also Colors & Line Styles Dialog.
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2023 by Interstellar Research
All rights reserved