Re: [Matplotlib-users] numpy and matplotlib usage

2006-12-31 Thread Fernando Perez
Hi Belinda, On 12/29/06, belinda thom [EMAIL PROTECTED] wrote: Hi, I'm using matplotlib w/numerix set to numpy (as described in my prior post). What I am wondering is in what situations one would want to: import pylab import numpy together, because there is matlab-style stuff (e.g.

Re: [Matplotlib-users] contour and basemap

2006-12-31 Thread Jeff Whitaker
Evan Mason wrote: In the mpl basemap 'test.py' script, I want to add some contours to the mercator projection map (test #3). Just below line 83 (ie, below the 'im = imshow..' command I added the line: m.contour(topodat,[-1000, -2000]) This returns:

Re: [Matplotlib-users] contour and basemap

2006-12-31 Thread Eric Firing
Jeff Whitaker wrote: # reverse sign of data, so contours won't be dashed. cs = m.contour(x, y, -topoin, [1000, 2000], colors='r') You can also use rcParams['contour.negative_linestyle'] = 'solid' to tell contour not to make monochrome negative contours dashed. Eric