Plot Multi-XY VI
- Updated2025-07-30
- 8 minute(s) read
Takes a picture and an array of plots and appends a picture of an XY graph of the data with the plots overlaid on the same graph.
Each plot is an array of points.

Inputs/Outputs
[user-specified font]
—
[user-specified font] specifies the specific font characteristics for the text to draw. The VI ignores this input unless desired font is User-specified Font.
desired font(Application)
—
desired font specifies the text font.
picture
—
picture is the picture to which you want to add the plot. The default is an empty picture.
data
—
data is an array of clusters of plots, where each plot is an array of points.
dimensions (w,h)
—
dimensions specifies the top left point of the drawn bitmap.
top left point(0, 0)
—
top left point specifies in coordinates where to place the top-left corner of the image in the new picture.
cartesian axis attributes
—
cartesian axis attributes specifies the range and format for the x- and y- axes. If the minimum and maximum values are the same, or if you do not wire the cartesian axis attributes input, the VI calculates the minimum and maximum values from the data.
cartesian grid cosmetics
—
cartesian grid cosmetics specifies the style for the grid of the graph.
XY plot cosmetics
—
XY plot cosmetics specifies the plot color, the style for the plot, and the baseline. This VI uses the baseline only if the XY plot type is comb plot.
[sized scatter plot cosmetics]
—
sized scatter plot cosmetics specifies the range of sizes for frequency distribution points, assuming the xy plot type is sized scatter plot or sized-colored scatter plot.
new picture
—
new picture is the picture that contains the plot. You can wire this output to any other picture input to add more drawing instructions to the picture. You also can wire this output to the Picture to Pixmap VI to obtain an image data cluster. You then can save the image data to a file using the Graphics Formats VIs. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Graphics and Sound\Picture Plots\XY Multi Plot.vi
[user-specified font]
—
Font Name:
—
Size
—
Strikeout?
—
desired font(Application)
—
picture
—
data
—
data
—
x
—
dimensions (w,h)
—
x precision
—
line color
—
color array
—
new picture
—