Re: [Matplotlib-users] it is possible to use basemap to create regular spaced lat/lon grids?

2011-09-09 Thread Matt Funk
On 9/9/2011 6:42 AM, Scott Sinclair wrote: > On 8 September 2011 19:20, Matt Funk wrote: >> Hi, >> sorry that it has taken me so long to reply. Anyway, i could be wrong, but i >> don't think that the code: >> xi = np.linspace(llcrnlon,urcrnlon,1000) >>

Re: [Matplotlib-users] it is possible to use basemap to create regular spaced lat/lon grids?

2011-09-08 Thread Matt Funk
ewidth=0.5,cmap=cmap,alpha=0.5) > ax.contourf(xi,yi,zi,15,cmap=cmap,zorder=1000,alpha=0.5) > > colorscale = cm.ScalarMappable() > colorscale.set_array(value) > colorscale.set_cmap(cmap) > > colors = colorscale.to_rgba(value) > ax.scatter(lon,lat,c=

Re: [Matplotlib-users] it is possible to use basemap to create regular spaced lat/lon grids?

2011-09-06 Thread Matt Funk
> ax.contourf(xi,yi,zi,15,cmap=cmap,zorder=1000,alpha=0.5) > > colorscale = cm.ScalarMappable() > colorscale.set_array(value) > colorscale.set_cmap(cmap) > > colors = colorscale.to_rgba(value) > ax.scatter(lon,lat,c=colors,zorder=1000,cmap=cmap,s=10)

[Matplotlib-users] it is possible to use basemap to create regular spaced lat/lon grids?

2011-09-06 Thread Matt Funk
Hi, i want to interpolate irregular spaced satellite data onto a regular spaced grid. The regular spaced grid should have cell sizes of 1km^2. Is it possible to use basemap to create such a grid. It looked like it includes some facilities like that, but i am not sure if they are meant to be used by

Re: [Matplotlib-users] setting the default markerfacecolor

2011-04-08 Thread Matt Funk
;lines.color': 'b', 'text.latex.preview': False, 'figure.subplot.top': 0.90002, 'pdf.use14corefonts': False, 'legend.markerscale': 1.0, 'patch.antialiased': True, 'font.style': 'normal', 'backend_fa

[Matplotlib-users] setting the default markerfacecolor

2011-04-07 Thread Matt Funk
Hi, i am farily new to matplotlib so my question might be fairly basic. I would like to be able to set certain default values at the beginning of my script. The way i did this with the other values is via changing the value stored in rcparams. So something like: import matplotlib.pyplot as mpl m