Each graph and chart includes many options that you can use to customize appearance, convey more information, or highlight data. Although graphs and charts plot data differently, they have several common options that you access from the shortcut menu. However, some options are available only for a specific type of graph or chart.
All GRAPHS support multiple x– and y-scales, and all CHARTS support multiple y-scales. Use multiple scales on a graph or chart to display multiple plots that do not share a common x– or y-scale. Right-click the scale of the graph or chart and select Duplicate Scale from the shortcut menu to add multiple scales to the graph or chart.
All graphs and charts can automatically adjust their horizontal and vertical scales to fit the data you wire to them. This behavior is called autoscaling. Right-click the graph or chart and select X Scale»AutoScale X or Y Scale»AutoScale Y from the shortcut menu to turn autoscaling ON or OFF. By default, autoscaling is enabled for the graph or chart. However, autoscaling can slow performance. Use the operating tool or the labeling tool to change the horizontal or vertical scale directly.
Use the Format and Precision page of the Properties dialog box to specify how the scales of the x-axis and y-axis appear on the graph or chart. By default, the x-scale is configured to use floating-point notation and have a label of time, and the y-scale is configured to use automatic formatting and have a label of amplitude. To configure the scales for the graph or chart, right-click the graph or chart and select Properties from the shortcut menu to display the Graph Properties dialog box or Chart Properties dialog box.
Use the Format and Precision page of the Properties dialog box to specify a numeric format for the scales of a graph or chart. Click the Scales tab to rename the scale and to format the appearance of the axis scale. By default, a graph or chart scale displays up to six digits before automatically switching to exponential notation. On the Format and Precision page, select Advanced editing mode to display the text options that let you enter format strings directly. Enter format strings to customize the appearance and numeric precision of the scales.
Use the graph palette, shown as follows, to interact with a graph or chart while the VI is running.
With the graph palette, you can move cursors, zoom and pan the display. Right-click the graph or chart and select Visible Items»Graph Palette from the shortcut menu to display the graph palette. The graph palette appears with the following buttons, in order from left to right:
Cursor movement tool (graph only)—Moves the cursor on the display.
Zoom—Zooms in and out of the display.
Panning tool—Picks up the plot and moves it around on the display.
Click a button in the graph palette to enable moving the cursor, zooming the display, or panning the display. Each button displays a green LED when it is enabled.
Customize the appearance of a graph or chart by showing or hiding options. Right-click the graph or chart and select Visible Items from the shortcut menu to display or hide the following options:
You can include black and white images of graphs, charts, tables, and digital data and DIGITAL WAVEFORM controls and indicators into presentations, email, text documents, and so on. When you export a simplified image, LABVIEW exports only the CONTROL OR INDICATOR, digital display, plot legend, and index display and does not export scrollbars, the scale legend, the graph palette or the cursor palette.
You can export images into the following formats:
Windows .emf, .bmp and .eps files
Mac .pict, .bmp and .eps files
Linux .bmp and .eps files
You can save the image to the clipboard or to disk.
Get Updates on Tech posts, Interview & Certification questions and training schedules