LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot line like line graph in excel instead of like XY scatter

Is there a way to make a graph that is like the line graph in excel (see pic) and not like the normal graph that is like an XY scatter??

I am using the XY Graph and am trying to graph data that is of the form

x         y
0         0 
1         1
2         2 
3         3
4         4
3         3
2         2
1         1
0         0

This ends up plotting over itself in the normal graph.

Kenny
Kenny

Download All
0 Kudos
Message 1 of 5
(4,200 Views)
There is a property node where you can assign marker values as an array to each scale.
0 Kudos
Message 2 of 5
(4,182 Views)
I just tried that using the "Xscale.Markervals[ ]" property node and it gave the same results as before.
Kenny

0 Kudos
Message 3 of 5
(4,181 Views)
You can do an XY graph on a picture control. If you go inside the PlotXY.vi, then the Draw Cartesian Axes.vi, then the Draw Axes.vi,  there is an X-scale specs array indicator that contains the text for the axis labels. You can hijack the label text. You will need to invert one set of X values to get the data centered around zero. Then write whatever text values you want.

Message Edited by unclebump on 07-13-2006 05:12 PM

0 Kudos
Message 4 of 5
(4,176 Views)
Here is an .llb with the option to remove the '-' sign on the X scale labels by using a boolean input.
0 Kudos
Message 5 of 5
(4,148 Views)