On Sat, Mar 2, 2013 at 6:35 AM, Sudheer Joseph <sudheer.jos...@yahoo.com>wrote:

> Hi Phil,
>
> Though iris looked to be promising it needed many other libraries, so I
> chose the below suggestion. But is there a way to overlay contours on this
> ? also is it possible to specify the levels?
> In [23]: plt.pcolormesh?? did not give much help
> with best regards,
> Sudheer
>

You can overlay contours on the pcolormesh image by simply using the
plt.contour() function after the pcolormesh() call.  It allows you to
control which levels to contour and you can specify the attributes of those
contours like the color or thickness.  Note that unlike Matlab, you don't
have to call "hold on" between plots.  By default, matplotlib will hold.

I hope that helps!
Ben Root
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to