Mindmajix

CUSTOMIZING GRAPHS IN LABVIEW

CUSTOMIZING GRAPHS

Each graph includes options that you can use to customize the graph to match your data display requirements. For example, you can modify the behavior and appearance of graph cursors or configure graph scales. The below Figure shows the elements of a graph.

                                                70

You add most of the items listed in the legend above by right-clicking the graph, selecting Visible Items from the shortcut menu, and selecting the appropriate element. Right-click the graph and select the option from the shortcut menu to set the graph option.

USING GRAPH CURSORS

Use a cursor on a graph to read the exact value of a point on a plot or a point in the plot area. The cursor value displays in the cursor legend. The below Figure shows an example of a graph using multiple cursors. Right-click the graph and select Visible Items»Cursor Legend from the shortcut menu to view the cursor legend. Add a cursor to the graph by right-clicking anywhere in the cursor legend, selecting Create Cursor, and selecting a cursor mode from the shortcut menu.

                                                           71

The cursor position is defined by the cursor mode. The cursor includes the following modes:

  • Free—Moves the cursor freely within the plot area, regardless of plot positions.
  • Single-Plot—Positions the cursor only on the plot that is associated with the cursor. You can move the cursor along the associated plot. Right-click the cursor legend row and select Snap To from the shortcut menu to associate one or all plots with the cursor.
  • Multi-Plot—Positions the cursor only on a specific data point in the plot area. The multi-plot cursor reports values at the specified x-value for all of the plots with which the cursor is associated. You can position the cursor on any plot in the plot area. Right-click the cursor legend row and select Snap To from the shortcut menu to associate one or all plots with the cursor. This mode is valid only for mixed signal graphs.

You can customize the appearance of the cursor in several ways. You can label the cursor on the plot, specify the color of the cursor, and specify line, point, and cursor style. Right-click the cursor legend row and select items from the shortcut menu to customize the cursor.

USING GRAPH ANNOTATIONS

Use annotations on a graph to highlight data points in the plot area. The annotation includes a label and an arrow that identifies the annotation and data point. A graph can have any number of annotations. Right-click the graph and select Data Operations»Create Annotation from the shortcut menu to display the Create Annotation dialog box. Use the Create Annotation dialog box to specify the annotation name and how the annotation snaps to plots in the plot area. Use the Lock Style pull-down menu in the Create Annotation dialog box to specify how the annotation snaps to plots in the plot area. The Lock Style component includes the following options:

  • Free—Allows you to move the annotation anywhere in the plot area. LabVIEW does not snap the annotation to any plots in the plot area.
  • Snap to All Plots—Allows you to move the annotation to the nearest data point along any plot in the plot area.
  • Snap to One Plot—Allows you to move the annotation only along the specified plot. 

The below Figure shows an example of a graph using annotations. You can customize the behavior and appearance of the annotation in several ways. You can hide or show the annotation name or arrow in the plot area, specify the color of the annotation, and specify line, point, and annotation style. Right-click the annotation and select options from the shortcut menu to customize the annotation. To delete the annotation, right-click the annotation and select Delete Annotation from the shortcut menu. Right-click the graph and select Data Operations»Delete All Annotations from the shortcut menu to delete all annotations in the plot area.

                                                    72


0 Responses on CUSTOMIZING GRAPHS IN LABVIEW"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.
Course Adviser

Fill your details, course adviser will reach you.