Customize the waveform chart as shown in Figure 3. You can display a plot legend, a scale legend,
a graph palette, a digital display, and a scrollbar. By
default, a waveform chart displays the plot
legend.
-
Customize the y-axis.
-
Use the Labeling tool to double-click
70.0 70.0 in the y-axis, type
75.0 75.0, and press the
<Enter> key.
-
b:
Use the
Labeling tool to double-click the
second number from the bottom on the y-axis, type
80.0 80.0, and press the
<Enter> key. This number determines the
numerical spacing of the y-axis divisions.
For example, if the number above
75.0 75.0 is
77.5 77.5, it indicates a y-axis
division of 2.5 2.5,
changing the 77.5 77.5 to
80.0 80.0 reformats the
y-axis to multiples of 5.0
5.0 ( 75.0 75.0,
80.0 80.0,
85.0 85.0, and so on).
The waveform chart size has a direct effect
on the display of axis scales. Increase the waveform
chart size if you encounter problems while
customizing the axis.
-
Right-click the waveform chart and select
Visible
Items>>Scale Legend from the shortcut menu to display
the scale legend, as shown in Figure 4. You can
place the scale legend anywhere on the front panel.
-
Use the scale legend to customize each axis.
-
Make sure the
Lock Autoscale button appears
locked and the Autoscale LED is green so
the y-axis adjusts the minimum and maximum values to fit
the data in the chart.
-
Click the
Scale Format button to change the
format, precision, mapping mode, scale visibility, and
grid options for each axis.
-
Use the plot legend to customize the plots.
-
Use the
Positioning tool to
resize the plot legend to include two plots.
-
Use the
Labeling tool to change
Temp to Running Avg and to
change Plot 1 to Current
Temp. If the text does not fit, use the
Positioning tool to resize the plot legend.
-
Right-click the plot in the plot legend to set the line
and point styles and the color of the plot background or
traces.
-
Right-click the
waveform chart and select
Visible Items>>Graph Palette from the shortcut
menu to display the graph palette, as shown in Figure 5. You can place the graph palette anywhere on
the front panel.
Use the Zoom button on the graph palette to
zoom in or out of sections of the chart or the whole
chart. Use the Panning tool to pick up the plot
and move it around on the display. Use the Cursor
Movement tool to move the cursor on the graph.
-
Run the VI. While the VI runs, use the buttons in the scale
legend and graph palette to modify the
waveform
chart.
If you modify the axis labels, the display might become
larger than the maximum size that the VI can correctly
present.
-
Use the
Operating tool to click the
Power switch and stop the VI.
-
Save and close the VI.
"A full introductory course on programming with LabVIEW."