LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple color plot in waveform charts

Hi All,
 
I am plotting a chart. Now, depending upon some selection (say a number) the color of that particular region should change.
 
For example, if I take a typical logarithmic waveform, the linear portion of the waveform should have a different color and the saturation portion should have different waveform.
 
Thanks a lot.
Sreedhar
0 Kudos
Message 1 of 5
(3,754 Views)

sorry the last sentance of my question was wrong:

it should be:

For example, if I take a typical logarithmic waveform, the linear portion of the waveform should have one color and the saturation portion should have different color.

thanks and regards

sreedhar

0 Kudos
Message 2 of 5
(3,746 Views)

Hi

Just an idea - you could use an XY-graph and split one waveform plot up to three XY-plots. These can be assigned different colours.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 5
(3,741 Views)

Hi,

Actually it will be more helpful, if you can send some code. I am still a newbie

 

sreedhar

0 Kudos
Message 4 of 5
(3,735 Views)
Hi
 
I attached a simple example. Just have a look at it.
 
If you want, you could replace the subvi "ExtractSubset". There exists a similar function in the waveform palette, which gives you a certain subset of a waveform. Just have a try on this topic.
 
If you have any question about it, don't hesitate to ask.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 5 of 5
(3,725 Views)