I plotted trend lines after using various calculation. The plot includes 3 trends lines on x y plane and i used checkbox to shw another trend line calculation. I want to remove the last trend line using unchecked box.
the original plot has
axes(handles.axes1)plot(x_clean,y_clean,'g'); hold onplot(x,y,'r'); hold onplot(xxx,yyy,'k'); hold onxlevel('Hours (hr)')ylevel('Corr. Power(MW)')
the other plot for checkbox is
axes(handles.axes1)plot(xx,yy,'m'); hold onxlevel('Hours (hr)');ylevel('Corr. Power (MW)')
How can i unchecked this plot
Thank you
Best Answer