From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

bar graph

I would like to graph a vector of "double" in bar form ... I've tried with
PlotX but it didn't work.

Suppose, the vector is :
double amplitude[100];

Haw can I have on the X axis the numbers 0,1,2,3,4 ... and vertically the
bars with the related amplitued ?

Thanks a lot,
A.
0 Kudos
Message 1 of 2
(2,540 Views)
A;

You can look at "examples\general\graphs\bargraph.llb" in your LabVIEW directory for an example on how to create bar graphs in LabVIEW. There is a nicer example at NI Developer's Zone titled "Creating a Category Bar Graph in LabVIEW"

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 2
(2,540 Views)