Re: [Matplotlib-users] Can matplotlib be run from PythonWin IDE ininteractive mode?

2008-12-06 Thread Thomas Pfaff
Hi,

does that mean that it works for you with PyScripter?
Right now the only way to do more than one plot with MPL with PyScripter is 
to reinitialize the remote python interpreter over and over again.
If you found a way around that I would be glad to hear about it.

To the rest:
Might there be a way to mimick IPython's behavior of 'creating separate 
threads' (or whatever it might be that makes IPython do the trick) while 
importing matplotlib? IPython is great but having an editor/integrated 
debugger with all the other goodies that PyScripter offers PLUS interactive 
matplotlib-plotting would be even greater...

Cheers,


Thomas

- Original Message - 
From: Elfnor [EMAIL PROTECTED]
To: matplotlib-users@lists.sourceforge.net
Sent: Wednesday, December 03, 2008 11:05 PM
Subject: [Matplotlib-users] Can matplotlib be run from PythonWin IDE 
ininteractive mode?



 Hi

 I'm giving an introductory talk on matplotlib to colleagues next week. I'd
 like to run matplotlib in interactive mode from the PythonWin IDE. Is this
 possible?

 I use PyScripter or occasionally IPython myself, but the python group I'm
 talking to have all been set up with PythonWin and my brief is to avoid
 confusing then with another IDE.

 thanks Eleanor
 -- 
 View this message in context: 
 http://www.nabble.com/Can-matplotlib-be-run-from-PythonWin-IDE-in-interactive-mode--tp20822638p20822638.html
 Sent from the matplotlib - users mailing list archive at Nabble.com.



 


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] axis ij, xaxislocation top

2008-12-06 Thread Sunnje L Basedow
Hi,
does anyone know if there is something like matlabs 'axis ij' in
matplotlib? I'm often plotting data from the water column where the xaxis
should be on top of the plot and the yaxis should be reversed. 
Sünnje


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] General questions about Basemap

2008-12-06 Thread Jeff Whitaker
Mauro Cavalcanti wrote:
 Dear ALL,

 I am using Basemap version 0.90 with MPL version 0.98.3 under Linux
 Ubuntu, both installed from Andrew Straw repository (I just prefer to
 install from repositories via apt than directly from the sources,
 although in this case I do not have always the latest versions).
   

Mauro:  There never actually was a Basemap 0.90 - could you check that 
version number again with

  from mpl_toolkits.basemap import __version__
  print __version__
0.99.2

See below for my comment on the speed of drawing rivers ..

 I stumbled upon a few issues that I could not solve by looking at the
 available documentation. They are not really critical for me, but I
 would be interested in finding some more about them anyway.

 Here they are:

 i) When trying some of the projections listed in the Basemap
 documentation, I got a message saying that this or that projection is
 not available, what leads me to think that these projections have only
 been included in later versions of Basemap. However, I could not find
 this in the documentation. This is not critical for my current
 project, as I have no need to offer so many projections, but I would
 like to know.

 ii) The plotting of rivers using the drawrivers() method is painfully
 slow, even with resolution set to crude. The FAQ provided with the
 Basemap source package offers an interesting suggestion for
 potentially solving this, but an exemple would be in order (the FAQ
 mentions an ireland.py example which I have however not found in the
 examples directory).
   

Looked into this a bit and found that drawing rivers the first time is 
slow, since the reading and processing of the river data is deferred 
until the drawrivers method is called.  In contrast, the coastlines are 
read and processed on instance creation.  I did this because most people 
don't use the river data, and I didn't want to impose that penalty on 
them on instance creation.

Subsequent calls to drawrivers (with the same Basemap instance) are very 
fast.

-Jeff
 iii) In the same context as the above, I would be interested in
 knowing if there is some way to speed up the plotting of a map with
 the Blue Marble image superimposed on it.

 In general, I would like to suggest that the Basemap FAQ could be
 expanded and made available in the website, along with, perhaps, some
 the examples provided in the Basemap distribution package (in the same
 way the examples are provided in the MPL page).

 Well, hope this helps!

 Have a nice weekend.

 With best regards,

   


-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC  R/PSD1FAX   : (303)497-6449
325 BroadwayBoulder, CO, USA 80305-3328


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users