Ordering the Plots
Posted: Fri May 28, 2010 12:00 pm
Hi everyone,
I have simple problem. I am trying to order the plots that my mod-file produces in a specific way, i.e. not 3x3 but 5x2 instead. Is there a way I can control for this in the mod-file. I was thinking of something like this at the end of the mod-file:
......
stoch_simul;
// subplots
rows = 5;
columns = 2;
for i = 1:rows*columns
subplot(rows,columns,i)
x1 = rand;
y1 = rand;
x2 = rand;
y2 = rand;
line([x1 y1],[x2 y2])
grid on
hold on
end
Thanks,
Tartaglia
I have simple problem. I am trying to order the plots that my mod-file produces in a specific way, i.e. not 3x3 but 5x2 instead. Is there a way I can control for this in the mod-file. I was thinking of something like this at the end of the mod-file:
......
stoch_simul;
// subplots
rows = 5;
columns = 2;
for i = 1:rows*columns
subplot(rows,columns,i)
x1 = rand;
y1 = rand;
x2 = rand;
y2 = rand;
line([x1 y1],[x2 y2])
grid on
hold on
end
Thanks,
Tartaglia