Hi,
I haven't used Matlab in my life, so I don't know if this solution will work
in Matlab.
El Jueves, 25 de Mayo de 2006 12:16, Matthias Brennwald escribió:
In Matlab, these commands to exactly what I want. In Octave, however,
the second plot contains all three data sets instead of only the
third set.
The solution is very easy:
subplot(2,1,1); % open up the first plot
plot(rand(1,10)); % plot the first data set to the first plot
hold on % hold the plot
plot(rand(1,10)); % plot the second data to the first plot
hold off
subplot(2,1,2); % open up the second plot
plot(rand(1,10)); % plot the third data set to the second plot
Javier