[pyplot] using f1=figure(1)

Giacomo Boffi giacomo.boffi at polimi.it
Mon Apr 4 15:08:09 EDT 2011


"eryksun ()" <eryksun at gmail.com> writes:

>     figure(fig1.number)
>     plot(...)

that's already much better than figure(1);...;figure(2);...

> Alternatively, you can use the plot methods of a particular axes:
>
>     fig1 = figure()
>     ax1 = axes()
>     fig2 = figure()
>     ax2 = axes()
>
>     ax1.plot(...)
>     ax2.plot(...)

that's nicer

> It works the same for subplots: [...]

thanks a lot
-- 
le mie sacrosante questioni di principio
          VS     gli sciocchi puntigli di quel cretino del mio vicino



More information about the Python-list mailing list