LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I display only negative values in an X-Y graph

I have my graph set up to run reading two arrays. It is a sine on sine wave and I only want to display the negative results. Is there a way to do this? Is it possible with something like a scan from function? In the end I will be linking this up to an absolute value and having only the negatives be positive, but getting the graph to display only the negative values is the first step.

0 Kudos
Message 1 of 3
(2,430 Views)

You can use the Threshhold 1D Array to filter out all values greater than 0.

Cory K
0 Kudos
Message 2 of 3
(2,421 Views)

And/or replace the positive values with NaN (not a number). NaN doesn't get plotted on the graph.

 

Ian

0 Kudos
Message 3 of 3
(2,418 Views)