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
--
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:
>
> /home/evan/downloads/basemap
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:
/home/evan/downloads/basemap-0.9.4/examples/test.py
82 # p