How to output a figure from a function?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Is there a way to output a figure from a function?
I have:
figure(1);plot(x,y)
figure(2);plot(y,z)
Is it possible to create a function that, when called, displays these figures as figure 1 and figure 2?
Any help is appreciated. Thanks
0 Commenti
Risposte (1)
Azzi Abdelmalek
il 21 Mar 2013
function curv(x,y,z)
figure(1);plot(x,y)
figure(2);plot(y,z)
0 Commenti
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!