LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot multi xy

Hi, I'm having difficulty plotting several y values for each x-value, then adding another set of y-values for a different x-value on the same plot and so on. I would like all of the points to be dots, but every time the second set of values is plotted I get a vertical line. Attached is a file which demonstates the problem. I'm a bit of a novice at this so any help would be much appreciated.
 
Also, is it possible to have a different symbol for each of the y-values i.e. dots, crosses, triangles etc.? Depending on the experiment I'm doing i can have up to ten y-vaules for each value of x and it would be helpful to follow the trend of each along the x scale.
 
Thanks!
0 Kudos
Message 1 of 3
(2,682 Views)
The problem is that you add a new plot for each new xy value instead of adding the new data to the same plot.
 
Here's one possible way to have all points in one plot.
 
 
 
 
To keep track of 5 or 10 different plots and add one point to each plot with each iteration, things get a slight bit more complicated. Just try it. 😉


Message Edited by altenbach on 04-30-2008 09:20 PM
0 Kudos
Message 2 of 3
(2,670 Views)


altenbach wrote:
To keep track of 5 or 10 different plots and add one point to each plot with each iteration, things get a slight bit more complicated. Just try it. 😉

Only a little bit more complicated. 🙂 Here's one possibility:
 


Message Edited by altenbach on 04-30-2008 09:40 PM
0 Kudos
Message 3 of 3
(2,662 Views)