function having plot command

1 visualizzazione (ultimi 30 giorni)
ali mujtaba
ali mujtaba il 10 Dic 2014
Commentato: ali mujtaba il 10 Dic 2014
I have written a function X in which i want to plot some data. in my main .m file I am calling this function 5 time with different input. I want to know that how can I get 5 plot figures according to the provided input. thanks in advance

Risposta accettata

Adam
Adam il 10 Dic 2014
Just call
figure
ahead of each call.
Personally I always specify the exact axes I want to plot on in a plot instruction but for simplicity, just creating a new figure before each should work.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by