tlemar

Enable/Disable Graph Traces

Recommended Posts

You can actually easily do this using flags.  Let's say you have an variable called "displayMyTrace".  You could then set this to 0 or 1 using a checkbox, then for the trace it corresponds to, change the expression from:

MyYExpression

to:

iif(displayMyTrace, MyYExpression, Nan())

There are other ways too, but we'll still look at adding a "visible" variable for each trace.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now