Is it possible to add plots to an already existing graph?
4 visualizzazioni (ultimi 30 giorni)
I've got a script that is based around three different types of excitation, and rather than trying to use a load of tricky programming (which I don't know how to do), I was wondering if it's possible to just run it once with the first excitation type, then run it again, with the second and then again with the third, and each time the new lines would get added to the previous graph.
This seem unlikely, but I thought I may as well just check anyway.
Wayne King il 19 Mar 2012
If you use hold on, you should be able to do that.
Or you can store your results in a matrix and plot that.
X = randn(100,3); % three runs store each run as a column