Draw Legend VI
- Updated2025-07-30
- 4 minute(s) read
Takes a picture and adds a legend to the picture.
The Radar Plot VI uses this VI as a subVI.

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 legend. The default is an empty picture.
plot info
—
plot info specifies the name and color for each plot in the legend.
text color(black)
—
text color is the color of the text. The default is black. You can wire a color box constant to this input.
rect
—
rect contains the coordinates that describe a rectangle bounding the legend. Horizontal coordinates increase to the right, and vertical coordinates increase to the bottom.
new picture
—
new picture is the picture that contains the legend. 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. |
[user-specified font]
—
Font Name:
—
Size
—
Strikeout?
—
desired font(Application)
—
picture
—
plot info
—
plot color
—
rect
—
new picture
—