08-05-2020 11:53 PM
Hello, I am working with a graph and I am looking for the way that by means of a button allows me to change the color of the signal, that is to say to control the color. Regards
Solved! Go to Solution.
08-06-2020 02:37 AM
08-06-2020 03:26 AM
You can click the plot in the plot legend and change the color. If you need it programmatically the answer is above.
08-06-2020 09:24 AM
Hi, ineed to do it by means of a button, to manipulate it at will
08-06-2020 09:59 AM
That is what this is for:
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
08-06-2020 10:12 AM
I need to control the color with a button
08-06-2020 11:36 AM
That is a button...
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
08-06-2020 12:00 PM
I need to do with a boolean or push button, no with that
08-06-2020 12:28 PM
@Jp16 wrote:
I need to do with a boolean or push button, no with that
Then the answer that GerdW gave you is what you need. Do you have a more specific question? Have you tried implementing this and ran into problems? Please feel free to post some code for help.
08-06-2020 03:46 PM - edited 08-06-2020 03:47 PM
Here's a little example. Note that the Active Plot parameter (ActPlot) is above the Plot.Color parameter. The property nodes are read top to bottom so set the active plot, then change it's parameter.