App Designer button click again

Hello! Do I need the first click of the button to delete the chart and all its contents, and the second click to return everything is possible?
function VisiblePlotButtonPushed(app, event)
app.plot.Visible = 'off';
end
Now I use this method, but it does not remove the contents of the chart

Answers (1)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Asked:

on 12 May 2020

Answered:

on 12 May 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!