[Matplotlib-users] preventing scaling view after updating plot

2009-04-09 Thread C M
(mpl 0.98.5 OO embedded in wx) Hi, I'm trying to highlight a picked datapoint, such as is shown in this thread: http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg05580.html As John suggested there, I get the index of the picked point, and then plot a marker on that point. I

Re: [Matplotlib-users] preventing scaling view after updating plot

2009-04-09 Thread C M
I tried this, and it did stop autoscaling--but I do want y autoscaling. What I want is y autoscaling but not y autoscaling (just setting xlims). I tried adding either of these lines right before or right after when I plotted the highlighted point: Just to be clearer: What I want is the

Re: [Matplotlib-users] ploting matrix data

2009-04-09 Thread Matthias Michler
Hi Bala, I added a small example showing up your matrix in order to have a running example, where you can specify your needs. In the program contourf could be replaced by contour or imshow - see help / docu / examples on the web The colormap can be specified with the kwarg cmap : e.g.

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-09 Thread Lorenzo Di Gregorio
On Thu, Apr 9, 2009 at 7:06 AM, Andrew Straw straw...@astraw.com wrote: Lorenzo Di Gregorio wrote: Hello, I've tried to build matplotlib 0.98.5.2 for Python 2.6 under Windows (Win2k) using MinGW and win32_static. After a few fixes, the compilation and install appear to be ok, but I've

[Matplotlib-users] Changing axis units, with imshow()

2009-04-09 Thread Ciarán Mooney
Hi, I am trying to plot an image with matplotlib and change the default axis units. Using the cookbook recipe (import image with PIL, and use imshow() ). I am able to get matplotlib to display the image, but the axis are just the x and y pixel numbers. I'd like to convert them to something

Re: [Matplotlib-users] ploting matrix data

2009-04-09 Thread Matthias Michler
Hi Bala, you may want to have a look at the gallery including many example pictures on http://matplotlib.sourceforge.net/gallery.html especially the follwing two examples might be of interest for you http://matplotlib.sourceforge.net/examples/pylab_examples/contourf_demo.html

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-09 Thread Jose Gómez-Dans
On Wednesday 08 April 2009 21:57:21 antonv wrote: The biggest bottleneck is happening because I'm unpacking grib files to csv files using Degrib in command line. That operation is usually around half an hour using no more than 50% of the processor but it maxes out the memory usage and it

[Matplotlib-users] Coordinates of contour lines

2009-04-09 Thread Ewald Zietsman
Hi All, I need to use the coordinates of a contour line for further calculations. Is there a simple way to get the x,y coordinates from a contour object or otherwise? i.e. I have (x,y,z) coordinates and have created a contour map from these. I need the (x,y) coordinates of the contour line with

Re: [Matplotlib-users] preventing scaling view after updating plot

2009-04-09 Thread Ryan May
On Thu, Apr 9, 2009 at 1:04 AM, C M cmpyt...@gmail.com wrote: I tried this, and it did stop autoscaling--but I do want y autoscaling. What I want is y autoscaling but not y autoscaling (just setting xlims). I tried adding either of these lines right before or right after when I plotted

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-09 Thread Christopher Barker
Eric Firing wrote: The biggest bottleneck is happening because I'm unpacking grib files to csv files using Degrib in command line. That operation is usually around half an disk speed -- you might want to try SATA RAID 0 (striping) -- Id get a good hardware vendor's advise in maximizing your

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-09 Thread Michael Droettboom
Can you send us the output of this Python session to help us debug? I'm curious what symbols *are* in there. import matplotlib._path dir(matplotlib._path) ['__doc__', '__file__', '__name__', 'affine_transform', 'clip_path_to_rect', 'convert_path_to_polygons',

Re: [Matplotlib-users] preventing scaling view after updating plot

2009-04-09 Thread C M
On Thu, Apr 9, 2009 at 9:25 AM, Ryan May rma...@gmail.com wrote: On Thu, Apr 9, 2009 at 1:04 AM, C M cmpyt...@gmail.com wrote: I tried this, and it did stop autoscaling--but I do want y autoscaling. What I want is y autoscaling but not y autoscaling (just setting xlims). I tried adding

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-09 Thread Lorenzo Di Gregorio
Well, that's exactly the problem: I just can't load some DLLs! import matplotlib._path Traceback (most recent call last): File pyshell#0, line 1, in module import matplotlib._path ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden. import matplotlib._delaunay

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-09 Thread Anton Vasilescu
Thanks a lot Chris for the detailed answer. I had the same doubts about 64bits and multiple cores. I just found out about Gdal and yes, Jeff's grib tools seem to be exactly what I needed. I'll stay with a fast dual core and 32 bit os and I'll get a 1 rpm hdd. That should be more than