LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing plots

I am trying to simply shade a bell chart to include/exclude areas inside/outside the standard deviation region of the chart.  I am creating the chart, shading the entire area under the curve, and I am properly labeling what I need but I want to shade specified areas as shown in the attached image.  I can find ways to shade in the y axis but not x.  Do I need a special plotting toolkit or the stats toolkit to do this?

0 Kudos
Message 1 of 6
(2,584 Views)

Create two bell curves, each with identical data, then replace a range of values with NaN in one of them and the inverted range in the other.

0 Kudos
Message 2 of 6
(2,580 Views)

Thanks for the quick reply.  I am not sure about what you just described ( any examples ) but as long as I know it is possible I will keep at it.  I will experiment with your suggestion. 

0 Kudos
Message 3 of 6
(2,554 Views)

Here is a very quick example. All you need to know that NaN values are not graphed.

 

PartialFill.png

 

 

Message 4 of 6
(2,538 Views)

EDIT: looks like NAN fills to -inf, so you might want to tweak things a little bit.

0 Kudos
Message 5 of 6
(2,537 Views)

Thanks a million.... there is nothing better than a simple but very clever solution. I am not sure I would have gotten there without your help.

 

I am surprised that LV doesn't make this a standard feature. 

0 Kudos
Message 6 of 6
(2,524 Views)