how refresh chart in the function?
Show older comments
hi, i use function to draw in app designer
app (paramter of bubu function) is a reference's graph
i use in the function "close all" and "refres variable" but if i call bubu function for second time i see the old line plotted
function bubu(app)
close all;
clearvars -except app
for i:1:1000
plot(app...,)
end
end
Accepted Answer
More Answers (1)
Sulaymon Eshkabilov
on 10 Sep 2023
0 votes
4 Comments
pipor
on 10 Sep 2023
Sulaymon Eshkabilov
on 10 Sep 2023
How to use refresh():
H=figure;
plot(t, y);
refresh(H)
pipor
on 10 Sep 2023
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!