Re: [Matplotlib-users] label plot points

2010-08-21 Thread Jose Gómez-Dans
On Saturday 21 Aug 2010 08:00:33 xyz wrote: > I would like to label all (x[i],y[i]) points in the plot with > point_labels[i]. > > Is it possible to label all points in a plot? Use plt.text (x, y, point_labels ) or something along those lines. Jose --

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 de

[Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gómez-Dans
Hi! I have a rather complex basemap-derived plot that I want to save as animation. In essence, it uses the blumarble() to add a nice background, plots some stuff on top of that, and also has an inset with a map of the world that shows the area of the main map. The problem is that memory usage

[Matplotlib-users] pcolor and imshow PDF sizes

2008-09-09 Thread Jose Gómez-Dans
Hi, In a previous email I pointed out that I was having problems with pcolormesh output as a PDF: the files are really big and impractical even for smallish arrays (1000x1000 pixels). I don't have that problem using imshow, which presumably resamples the image or somesuch wizardry :) Here's an e

[Matplotlib-users] Multiple column legends

2008-09-08 Thread Jose Gómez-Dans
Hi! About a year ago, Jouni Seppänen indicated how to put a number of patches in a legend. So far so good. Now, it turns out that I do have quite a lot of patches to throw into this legend, and it would be nice, rather than to have a single column, to have the possibility to arrange these patche

[Matplotlib-users] Re-projecting raster data with Basemap

2008-09-08 Thread Jose Gómez-Dans
Hi, I am starting to play with Basemap. I have some raster data in longitude/latitude (WGS-84, EPSG: 4326). I would like to plot it using imshow, and to then plot some country boundaries and so on and so forth. I have studied the plotprecip.py example in Basemap's distribution, but as far as i

Re: [Matplotlib-users] get a google map image into matplotlib?

2008-08-06 Thread Jose Gómez-Dans
On Tuesday 05 August 2008 22:25:30 Mark Bakker wrote: > Can we do the same? I am sure we can (not sure we want, as Google has been > somewhat difficult to people writing scripts to manipulate images from > google maps). I tried doing something similar to this a while ago. You can use gdal to point

Re: [Matplotlib-users] tesgdal in examples of basemap

2008-06-19 Thread Jose Gómez-Dans
Hi, On Thursday 19 June 2008 00:16:39 KURT PETERS wrote: > array = gd.ReadAsArray() > AttributeError: 'NoneType' object has no attribute 'ReadAsArray' > > Anyone know what the problem is? Do I need something else? Did you download the Denver DEM from USGS? From testgdal.py: # download from

Re: [Matplotlib-users] tesgdal in examples of basemap

2008-06-19 Thread Jose Gómez-Dans
Hi, On Thursday 19 June 2008 00:16:39 KURT PETERS wrote: > array = gd.ReadAsArray() > AttributeError: 'NoneType' object has no attribute 'ReadAsArray' > > Anyone know what the problem is? Do I need something else? Did you download the Denver DEM from USGS? From testgdal.py: # download from