update plot from loop using function
Ältere Kommentare anzeigen
hi, i have a function analys some data and plot it.
i want to plot a number of figures tgether, using a loup that change the data every loup.
how can i print tham all?
thank a lot!!!!
function [k] = lot_plot(b)
figure
for i=1:n
my_function_that_plot(i)
end
plot(all_of_tham) ?% need to see n figurse in one plot
end
1 Kommentar
Mathieu NOE
am 22 Dez. 2021
hello
it's a bit unclear what data must be displayed in each plot (one plot or multiple subplots ? )
can you clarify ?
tx
Akzeptierte Antwort
Weitere Antworten (1)
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
