Jump to content

Color Change of waveform chart/graph dynamically


Labvu

Recommended Posts

HI,

I am new to labview. I hope I will get good help from all of you.

I am plotting a logarithemic waveform on a chart, all I want is to represent the waveform in two different colors, i.e. while the waveform is linear, it should be one color and while it reachs its saturation, it should be other color. So the plot should have a combination of two colors.

If it is not possible in chart, kindly help me out with the same in case of graph.

thanks a lot........ :worship:

Link to comment

Hi Labvu:

I'm not at all sure this is the easiest way to do it-- but last time I had the same problem which was years ago with an earlier version of LabView, it was the only way I could figure out:

make two copies of the data.

In the first copy of the data, change all the values that are in saturation to NaN.

In the second copy of the data, change all the values that are NOT in saturation to NaN.

Plot both copies of the data on the same chart in different colors.

Hope there's an easier way to do it that someone will share with us, but if not hope that this helps...

Best Regards, Louis

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.