Takes uniformly distributed data and a picture and creates a new picture that represents a waveform graph of the data.


icon

Inputs/Outputs

  • ccclst.png [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.

  • cstr.png Font Name:

    Font Name specifies the font to use for the text.

    If you misspell the font name or specify a font that is not installed on the computer, the operating system selects a font.

  • ci16.png Size

    Size specifies the size of the font in points.

  • cbool.png Strikeout?

    Strikeout? specifies if the text appears in strikeout. If Strikeout? is TRUE, the text appears in strikeout.

  • cbool.png Italic?

    Italic? specifies if the text appears in italics. If Italic? is TRUE, the text appears in italics.

  • cbool.png Underline?

    Underline? specifies if the text is underlined. If Underline? is TRUE, the text appears underlined.

  • cbool.png Outline?

    Outline? specifies if the text is outlined. If Outline? is TRUE, the text appears outlined.

  • cbool.png Shadow?

    Shadow? specifies if the text has a shadow. If Shadow? is TRUE, the text appears in shadow.

  • cbool.png Bold?

    Bold? specifies if the text is bold. If Bold? is TRUE, the text appears bold.

  • cenum.png desired font(Application)

    desired font specifies the text font.

    0
    User-specified Font
    1
    Application Font
    (default)
    2
    System Font
    3
    Dialog Font
  • cpict.png picture

    picture is the picture to which you want to add the graph. The default is an empty picture.

  • cnclst.png bounding rect

    bounding rect contains the upper-left and lower-right coordinates that describe a rectangle bounding the plot, including the x- and y-axes.

    Horizontal coordinates increase to the right, and vertical coordinates increase to the bottom.

  • ci16.png left

    left is the horizontal coordinate of the left edge of the rectangle.

  • ci16.png top

    top is the vertical coordinate of the top edge of the rectangle.

  • ci16.png right

    right is the horizontal coordinate of the right edge of the rectangle.

  • ci16.png bottom

    bottom is the vertical coordinate of the bottom edge of the rectangle.

  • ccclst.png 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.

  • cdbl.png x minimum

    x minimum is the smallest allowable value in the range of horizontal coordinates.

  • cdbl.png x maximum

    x maximum is the largest allowable value in the range of horizontal coordinates.

  • cbool.png x log?

    x log? indicates whether the scale should be logarithmic.

  • cu8.png x precision

    x precision specifies the precision for the scale numbers on the x-axis.

  • cenum.png x format

    x format specifies the numeric format for the scale numbers on the x-axis. The default is Decimal.

    0
    Decimal
    1
    Scientific
    2
    Engineering
    3
    Binary
    4
    Octal
    5
    Hex
  • cdbl.png y minimum

    y minimum is the smallest allowable value in the range of vertical coordinates.

  • cdbl.png y maximum

    y maximum is the largest allowable value in the range of vertical coordinates.

  • cbool.png y log?

    y log? indicates whether the scale should be logarithmic.

  • cu8.png y precision

    y precision specifies the precision for the scale numbers on the y-axis.

  • cenum.png y format

    y format specifies the numeric format for the scale numbers on the y-axis. The default is Decimal.

    0
    Decimal
    1
    Scientific
    2
    Engineering
    3
    Binary
    4
    Octal
    5
    Hex
  • ccclst.png waveform data

    waveform data contains the initial X value, the spacing between points along the x-axis, and the y data that you want to plot.

  • cdbl.png Xo(0)

    Xo is the initial value of x.

    The default is 0.

  • cdbl.png delta X(1)

    delta X determines the spacing between points along the x-axis.

    The default is 1.

  • c1ddbl.png Y data

    Y data specifies the data that you want to plot along the y-axis.

  • ccclst.png cartesian grid cosmetics

    cartesian grid cosmetics specifies the style for the grid of the graph.

  • cu32.png line color

    line color specifies the color of the line.

    You can wire a color box constant to this input.

  • cu32.png text color

    text color specifies the color of the text.

    You can wire a color box constant to this input.

  • ci16.png tick length(3)

    tick length specifies the length of the tick marks on the edge of the scale.

  • cbool.png crossing axes

    crossing axes specifies if the VI draws the axes at the originating coordinate. If crossing axes is TRUE, the VI draws the axes at the originating coordinate. If crossing axes is FALSE, the VI draws the axes at the bottom left edge of the plot.

  • cbool.png visible grid?

    visible grid? specifies if the VI displays the grid in the graph. If visible grid? is TRUE, the VI displays the grid in the graph.

  • cnclst.png waveform plot cosmetics

    waveform plot cosmetics specifies the plot color, the style for the plot, and the baseline. The VI uses the baseline only if the waveform plot type is comb plot or bar plot.

  • cu32.png plot color

    plot color specifies the color of the plot.

    The default in RGB is 255, 255, 0.

    You can wire a color box constant to this input.

  • cenum.png waveform plot type

    waveform plot type is the style of plot to display.

    The default is a plot of connected points.

    0
    points
    1
    squares
    2
    circles
    3
    connected points
    (default)
    4
    connected squares
    5
    connected circles
    6
    fill to baselines
    7
    comb plot
    8
    bar plot
  • cdbl.png baseline

    baseline specifies the baseline of a plot. The default is 0.

  • ccclst.png [bar style]

    bar style specifies the style for bar plots, assuming the waveform plot type is bar plot.

  • cdbl.png bar width(50%)

    bar width specifies the width of each bar relative to the rest of the graph.

  • cbool.png frame?(T)

    frame? indicates whether to include a frame around the bars in the graph.

  • cu32.png frame color(black)

    frame color is the color of the bars in the graph.

    The default is black.

    You can wire a color box constant to this input.

  • ipict.png 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\Waveform and XY Plots.vi
    • labview\examples\Graphics and Sound\Picture Plots\Histogram Plot.vi