Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2585

Re: [pyplot] using f1=figure(1)

From Giacomo Boffi <giacomo.boffi@polimi.it>
Newsgroups comp.lang.python
Subject Re: [pyplot] using f1=figure(1)
Date 2011-04-04 21:08 +0200
Organization The Sun and The Rain
Message-ID <86oc4lx2au.fsf@aiuole.stru.polimi.it> (permalink)
References <6d3062b4-2b25-480d-89a9-8e2431866f2f@glegroupsg2000goo.googlegroups.com>

Show all headers | View raw


"eryksun ()" <eryksun@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [pyplot] using f1=figure(1) "eryksun ()" <eryksun@gmail.com> - 2011-03-30 03:24 -0700
  Re: [pyplot] using f1=figure(1) Giacomo Boffi <giacomo.boffi@polimi.it> - 2011-04-04 21:08 +0200

csiph-web