Re: [Matplotlib-users] advaced scatter plot

2009-12-14 Thread Jose Gomez-Dans
Hi! 2009/12/14 jenya56 > > 1.) How to control the size of each circle on the scatter plot > Use the "s" option to scatter (units are points**2) > 2.) How to add the coast line with lambert projection? > You want to use the basemap extension. An example can be found in this blog: < http://stev

Re: [Matplotlib-users] advaced scatter plot

2009-12-14 Thread jenya56
The update: I was able to produce the plot with: fig = P.figure() ax = fig.add_subplot(1,1,1) cmap = P.matplotlib.cm.jet norm = P.matplotlib.colors.Normalsize(vmin=0,vmax=1) sc = ax.scatter(ave_lon,ave_lat,c=v,cmap=cmap,norm=norm) savefig('sg.png') However, I have a few quest

Re: [Matplotlib-users] advaced scatter plot

2009-12-14 Thread John Hunter
On Mon, Dec 14, 2009 at 11:31 AM, jenya56 wrote: > > Dear all, I was wondering if there is equivalent in python of this function: > PLOTCLR(X,Y,V) plots the values specified in V as a color coded scatter plot > at the locations specified in the vectors X and Y. The current colormap of > the figure

[Matplotlib-users] advaced scatter plot

2009-12-14 Thread jenya56
Dear all, I was wondering if there is equivalent in python of this function: PLOTCLR(X,Y,V) plots the values specified in V as a color coded scatter plot at the locations specified in the vectors X and Y. The current colormap of the figure is used for the color code. Any suggestions? Thanks. -- V