From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To: Vertical lines on graph?

If I have an array of data, 0 0 0 0 0 83 20 12 3 0 0.
How do make a graph of this data so there will be a vertical line at each of these points to indicate its size, instead of the standard curve it gives out. (desire is to look almost like a bar graph with bar width set extremely small)
0 Kudos
Message 1 of 4
(2,538 Views)
In the waveform graph there is a tool called Common plots. You can obtain that by right clicking on the 'Plot' and then choosing the vertical line representation.
Attached is a screen shot of it.

Hope this helps!


Shruti T
National Instruments
Message 2 of 4
(2,538 Views)
Exactly what I needed to know!
Thanks so much.
0 Kudos
Message 3 of 4
(2,538 Views)
> If I have an array of data, 0 0 0 0 0 83 20 12 3 0 0.
> How do make a graph of this data so there will be a vertical line at
> each of these points to indicate its size, instead of the standard
> curve it gives out. (desire is to look almost like a bar graph with
> bar width set extremely small)
>

Click on the graph's plot legend. The first item is common plots and I
believe what you describe is in there. If not, look further down the
menu for the bar plot settings.

Greg McKaskle
Message 4 of 4
(2,538 Views)