LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control attributes of each individual point in one plot

Can I do it?  I create a spiral plot of about 490 points.  At each data point I check something, if good I want a green point along the spiral. If bad I'd like a red point.  So far, changing any attribute at any point in a plot changes them all, not just the one. I've tried having 2 different plots, one for the good condition and the other the bad. When overlapped their all the same.

anyone got an idea?

Don


0 Kudos
Message 1 of 5
(2,773 Views)


@lockingnut wrote:
When overlapped their all the same.

Having two plots, one for good, one for bad, is the easiest way to go. If good and bad overlap, you need to make a decision what to show in the foreground. This is independent on how you generate the graph. Maybe you can use different point style for the two plots , e.g. empty circles and X-es. 

Of course for full flexibility, you could built it all with a picture indicator, but that would require a bit more work.

0 Kudos
Message 2 of 5
(2,767 Views)
Thanks.    Right after I posted I found a message saying the same thing,  tried and it works.  Once I knew what to do it didn't take long at all,  about 3 minutes.  I blew all day yesterday fighting it.

Again,

Thanks!!!!

Don

0 Kudos
Message 3 of 5
(2,764 Views)
Don,

With two plots change the values of the points you do not want displayed to NaN. The NaN points do not display. I am not sure how LV draws lines between the other points so this might take some experimentation.

Lynn
0 Kudos
Message 4 of 5
(2,758 Views)
Well  it works great, does just what I need it to do. I've included the code, the program's preliminary. Now I'll add the real code that decides when to change point color & style. 
0 Kudos
Message 5 of 5
(2,753 Views)