Ordering the Plots

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

try setting in your model file before plots producing function

options_.graphics
 nrows: 3
         ncols: 3
    line_types: {'b-'}
    line_width: 1

So you should write

options_.graphics.nrows=2
options_.graphics.ncols=5