Drawing to the Graph Plot Area
- Updated2026-02-27
- 3 minute(s) read
You can customize the graph plot area of intensity graphs, mixed signal graphs, and waveform graphs by drawing a background image, middle image, or foreground image in the plot area.
Figure 20. Sample Plot Area Drawing depicts an example of a drawing that includes the following:
- Foreground circles to annotate data points
- A middle envelope to designate a defined tolerance for the data
The canvas for drawing plot images uses a coordinate system. The origin (0, 0) for the coordinate system is always located at the top, leftmost corner of the graph plot area. By default, the properties you use to create plot images use this coordinate system to place the plot images.
To draw to the graph plot area of intensity graphs, mixed signal graphs, and waveform graphs, complete the following steps.
-
Depending on your graph type, use the Plot Images properties of the following
classes to create custom grids in the background, create data envelopes in the
middle, or use shapes to annotate data points in the foreground of the graph
plot area.
Graph Type Description Intensity graph - Plot Images property class: IntensityGraph
- Supported images: foreground
Mixed signal graph - Plot Images properties: MixedSignalGraph
- Supported images: background, middle, foreground
Waveform graph - Plot Images properties: WaveformGraph
- Supported images: background, middle, foreground
Note By default, these properties use the top, leftmost corner of the graph plot area as the origin (0, 0) for the drawing. - Optional:
If you want to use graph data points as references for drawings, rather than
the plot area origin, use the Map XY To Coordinates method to map the graph
coordinates of the data points to coordinates on the front
panel.
Note Using splitter bars on the front panel creates multiple panes. When you use Map XY To Coordinates, you must account for the offset of the plot area of the graph from the origin of the owning pane on the front panel.
Figure 21. Sample Block Diagram: Map XY To Coordinates displays one option you can use to find the correct location in which to draw.
Figure 21. Sample Block Diagram: Map XY To Coordinates
- If you resize or copy a graph that has custom annotations or envelopes, rerun the VI to redraw the image.
- Optional:
To remove a drawing, do either of the following:
- Wire an empty image to the appropriate property
- Make the image transparent