Hide Certain Parts of a Plot on a Graph in LabVIEW

Updated Jan 3, 2019

Reported In

Software

  • LabVIEW

Issue Details

I have three different plots shown on the graph at the same time. Is it possible to pick one of the plots to be displayed in certain parts of the graph?

Solution

The solution is to use NaN value, which states for Not a Number and is not displayed in the waveform graph.
If you insert into your array of numeric data NaN values, this part of a plot will be not shown on the graph.
An example of a simple implementation of a mentioned idea is given below.

 

 
Each array of numeric values has a corresponding array of LEDs. State of the LED decides, if the specific element of the array should be displayed on the graph. If the LED is on, data are normally shown on a graph. If LED is off, NaN value is passed to the graph and it is not displayed.

Additional Information

This solution can be also useful when you need to change the color of only some part of the plot.

WAS THIS ARTICLE HELPFUL?

Not Helpful