[Matplotlib-users] Pcolormesh vs contourf

Sameer Grover sameer.grover.1 at gmail.com
Thu Jan 5 19:40:05 EST 2017


Hello,

I'd like to know about the difference between contourf and pcolormesh and
their intended uses. So far, I've been using contourf with a large number
of levels (150 - 200) to plot two dimensional data. Are their any
disadvantages of this and is pcolormesh better suited for this task?

As far as I can make out, contourf displays a "smoothened-out" image and
pcolormesh is more "boxy".

Thanks.

Sameer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170106/b19ef2f4/attachment.html>


More information about the Matplotlib-users mailing list