Creates a window that displays data in a style that simulates a real-time, moving strip chart.
WgStripTool [, x [, y1 [, y2 [, y3 [, y4 [, y5 [, y6 [, y7 [, y8 [, y9 [, y10 ]]]]]]]]]]]
yn
parent
Position
DSize
Title
Background
Specifies the background color name.
Specifies the base color.
Specifies the name of the font used for text.
Specifies the foreground color name.
Figure 2-163 The WgStripTool window lets you interactively view data in moving strip charts; up to ten strip charts can be simultaneously displayed by the WgStripTool window. You can adjust the display width in the strip charts to create the effect of zooming in and out. You can also adjust the rate and the manner with which the strip charts progress through the data.
Figure 2-164 The WgStripTool window lets you interactively view data in moving strip charts; up to ten strip charts can be simultaneously displayed by the WgStripTool window. You can adjust the display width in the strip charts to create the effect of zooming in and out. You can also adjust the rate and the manner with which the strip charts progress through the data.
Auto
Stop
to have WgStripTool stop whenever it reaches the beginning or the end of the data in the y variable(s). Select Continuous
to have WgStripTool move through the data in a non-stop manner, pausing only when you click the Stop
button. Select Step
to have the strip chart proceed only when you click on one of the arrow buttons.
X Display Width
. Click this button to display another dialog box containing text fields where you can type precise values for the minimum and maximum values you wish to have displayed along the x-axis.
Figure 2-165 Use this dialog box to precisely control the range of the x-axis in the WgStripTool window. This dialog box is displayed if you click the X Range button in the WgStripTool control area.
Figure 2-166 Use this dialog box to precisely control the range of the x-axis in the WgStripTool window. This dialog box is displayed if you click the X Range button in the WgStripTool control area.
parent
is defined, WgStripTool is created as a child of parent
; otherwise, WgStripTool runs on its own (i.e., in its own event loop).When you are finished interacting with the WgStripTool window, close it by clicking on the
Dismiss
button.
PRO Sample_wgstriptool, parent, tool_shell x = indgen(500) y1 = sin(x) y2 = cos(x) y3 = tan(x)
IF N_ELEMENTS(parent) NE 0 THEN BEGIN WgStripTool, x, y1, y2, y3, $ 0, 0, 0, 0, 0, 0, 0, parent, tool_shell
ENDIF ELSE BEGIN WgStripTool, x, y1, y2, y3
ENDELSE END