Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2585
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!kanaga.switch.ch!switch.ch!newsserver.news.garr.it!newsserver.cilea.it!not-for-mail |
|---|---|
| From | Giacomo Boffi <giacomo.boffi@polimi.it> |
| Newsgroups | comp.lang.python |
| Subject | Re: [pyplot] using f1=figure(1) |
| Date | Mon, 04 Apr 2011 21:08:09 +0200 |
| Organization | The Sun and The Rain |
| Lines | 25 |
| Message-ID | <86oc4lx2au.fsf@aiuole.stru.polimi.it> (permalink) |
| References | <6d3062b4-2b25-480d-89a9-8e2431866f2f@glegroupsg2000goo.googlegroups.com> |
| NNTP-Posting-Host | donzauker.stru.polimi.it |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | newsserver.cilea.it 1301944020 14918 131.175.189.147 (4 Apr 2011 19:07:00 GMT) |
| X-Complaints-To | news@cilea.it |
| NNTP-Posting-Date | 4 Apr 2011 19:07:00 GMT |
| User-Agent | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b29 (linux) |
| Cancel-Lock | sha1:ESA0KMUSlaOSoj2T034ab5wzK9c= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:2585 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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