How to assign multiple figures on same code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Don Singh
am 7 Okt. 2015
Bearbeitet: Joseph Cheng
am 7 Okt. 2015
I am programming a code where I must plot several figures one after the other. I wish to assign these figures so that when I run the program that every figure shows up, right now I have written the code for the second plot but instead of it plotting both figure 1 and 2 it just plots the new figure as figure 1 and skips over the previous figure. How do I fix this?
0 Kommentare
Akzeptierte Antwort
Joseph Cheng
am 7 Okt. 2015
Bearbeitet: Joseph Cheng
am 7 Okt. 2015
first of all the tags do not need# as they are already marked as tags, # are used in sites like facebook, twitter, etc. to not have to recognize/analyze the subject of the posts and can detect the "highlighted" words through the markings of the #. second you should create a new figure before plotting the second plot to prevent overwriting the previous plot
figure,plot(randi(10,10,10))
figure,plot(randi(3,3,3))
...
etc.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!