haow to collect two graphs or more in one figure in matlab?
2011-06-30 03:26:08 UTC
without doing manullay?(copi paste)
i have editor and workspace
in editor: i have acqusition data to show figure (P vs F)
but i have other input data/file and i want to display it together previous data
how?
Four answers:
2011-06-30 06:23:18 UTC
If you want the data on separate graphs, use the "subplot" command to divide the figure window into different areas with a separate plot in each area. If you want the data all on one plot, you can either plot them all in one "plot" command (e.g. plot(x1,y1, x2,y2, ...) ) or you can use the "hold" command to force MATLAB to plot subsequent data onto the previous plot.
delacy
2016-11-13 01:52:30 UTC
you ought to use the function 'carry on' to maintain plotting on the comparable determine. you ought to use the training 'determine' to launch yet another plotting window. I propose you circulate to the region below, for examples.
?
2011-06-30 05:29:48 UTC
>> plot (rand(3))
>> hold
Current plot held
>> plot (rand(5))
2011-06-30 04:23:50 UTC
Jus collect it :/
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.