Subplot(xyz)

Dear All,

how can I use subplot in the following way?

In matlab:

nn =2;
subplot(2,2,nn);

In Julia

using PyPlot
 nn = 2
subplot(12nn)

ValueError('Integer subplot specification must be a three-digit number, not 36',)

Is this a bug in PyPlot?

With PyPlot, you can do
subplot(2,2,nn)

1 Like

Okay, It is solved! thanks very much!!!