R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 737
See DISPlay:CMAP<Element>:RGB.
DISPlay:CMAP<Element>:RGB <red>, <green>, <blue> [,<trace_style>,
<trace_width>]
Defines the color of all display elements based on the Red/Green/Blue color model.
Number of the display element. The display elements corresponding to the
numbers 1 to 28 are listed below.
Red, green, and blue content of the defined color.
0 (zero intensity, corresponding to a 0 in the 24-bit color model) to 1 (full
intensity, corresponding to 255 in the 24-bit color model) [–]
Optional trace style, only for traces (<Element> > 12): One of the string
parameters SOLid | DASHed | DOTTed | DDOTted | DDDotted.
Optional trace width, only for traces (<Element> > 12).
*RST does not affect the color settings; see also description of the Preset
command.
Confirmed (with device-specific numeric suffix and parameters), command or
query. The query returns three values between 0 and one, separated by
commas, corresponding to the red, green, and blue color content.
*RST; :DISP:CMAP:MARK ON; :CALC:MARK ON
Create diagram area no. 1 (with default trace showing the S-parameter S
21
) and
a marker M 1.
CALC:PAR:SDEF 'TRC2', 'S11'; :DISP:WIND:TRAC2:FEED 'TRC2'
Create a new trace named TRC2 and display the trace in diagram area no. 1.
Note that the new trace automatically becomes the active trace.
CALC:MARK2 ON
Assign a marker M 2 to the trace. Both markers are displayed with the same
color.
DISP:CMAP13:RGB 1,0,0; :DISP:CMAP14:RGB 0,1,0
Color the first trace red, the second trace green.
DISP:CMAP6:RGB?
Query the marker color. The marker color depends on the settings made in
previous sessions; it is not reset. A possible response is 0,0,0 for black markers.
DISP:CMAP:MARK OFF
Change the marker colors: M 1 turns red, M 2 turns green.
The numeric suffixes <Element> denote the following display elements: