Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

how to fill the plot area partially in fill mode

a Plot vs  a base Y (=80) Plot

I just want to fill the area where the Plot Y value > 80

How to control the fill to just partially fill the plot area. 

 

Please see att image.

 

 

0 Kudos
Message 1 of 13
(5,163 Views)

What version of Visual Studio and Measurement Studio do you have? What language are you using?

 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 13
(5,136 Views)

NStudio 8.1.1

Using C#

 

 

0 Kudos
Message 3 of 13
(5,132 Views)
VS 2005
0 Kudos
Message 4 of 13
(5,131 Views)

Hi Matt,

 

With a plot in Measurement Studio, you can set fill information.  In the designer, select your WaveformGraph and click "Edit Plots" in the properties window.  Select your plot, then you can modify the necessary fill properties.  To generate the picture below, I modified BaseYValue to be equal to 50 and the FillMode to Fill, keeping FillBase set to YValue.  Does this look like what you are looking for?

 

fillline.png

Eric B.
National Instruments
0 Kudos
Message 5 of 13
(5,108 Views)

No.

 

I just want to show the area where plot's Y value > 50.

 

So for this example, just want to fill the area where X > 1 and X < 4

Don't want to fill the area where Y valud is less than 50.

 

 

Please check my previsou attached pig (just fill the shade area) 

0 Kudos
Message 6 of 13
(5,103 Views)

pic1.GIF

 

Just want to fill the shadded area. 

If the dot line Y is 50, just need to show the plot's Y > 50.

Don't want to fill any if plot's Y < 50.

0 Kudos
Message 7 of 13
(5,100 Views)

Matt,

 

Here is an example of exactly how to do that. It is certainly a non-trivial task, but here is a link to the example code: http://decibel.ni.com/content/docs/DOC-7483 

 

 

2009-10-21_115939.jpg

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 8 of 13
(5,053 Views)

How to remove the filled area?

Apparently, it is NOT able to use

waveformPlot1.FillMode = PlotFillMode.None;

0 Kudos
Message 9 of 13
(4,906 Views)
Were you unable to get my example to work? What exactly are you trying to make not visable in the plot?
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 10 of 13
(4,874 Views)