I would like to create an GUI , which basically to plot the statistics(mean,Min,Max). I have an sensor list for x and y cordinate. I would like to plot the statistics. I have loaded the sensor list into the listbox and added the plotting details in the listbox callback. So whenever I click the x and y axis entries, i will check whether checkbox for mean, min or max is checked in or not and plot the same. But what i want is, if the user check out the mean or min checkbox, then it should remove the mean or min plot from the figure. How can i do this, whether any callbacks can help on this.
I can do this by coding the plot commands in the check box callback for mean and min. But is that the way to do ? then whereever i have checkbox then i have to copy my plot commands.
Please suggest if i uncheck an checkbox, then the control should go towards listbox callback and execute the plotting commands after checking the status of checkbox for mean,min,max and then plot the same.
No products are associated with this question.