09-08-2009 09:52 AM
Hi, i have a graph with multiple y-axis values e.g. voltage, currrent, temperature. I want to be able to disable these at will. Would it possibel to use the property nodes to do this? e.g. making one invisible or clear. So it can not be seen.
Stu
09-08-2009 10:09 AM
Hi Stu,
The way I've done this in the past is to change individual plot colors. I change the color to "transparent" on plots that I don't want to be visible. To accomplish this, select the "Active Plot" property and set it to the plot you want to modify. {0, 1 2 ...} Then select "Plot.Plot Color". Using the Color Box Constant off of the Dialog & User Interface pallette, you can view the colors you're setting. Selecting the "T" in the upper right-hand corner selects a transparent color.
The other thing you can do is to manipulate the incoming data. If you're plotting floating point numbers, NaN doesn't show up in plots. You can switch the "real" data in and out, substituting it with NaNs.
If there's a more direct way with property nodes to enable and disable plots, I haven't stumbled across it yet.
I hope this helps.
Jim