From: Jeff L. <lay...@at...> - 2013-03-29 20:17:31
Good afternoon,
I'd like to be able to plot some 2D Structured CFD meshes
and contour plots (pressure, etc) using Matplotlib. I've
googled a little but does anyone have any pointers or
links to help get me started?
Thanks!
Jeff
On 29 March 2013 20:15, Jeff Layton <lay...@at...> wrote:
> Good afternoon,
>
> I'd like to be able to plot some 2D Structured CFD meshes
> and contour plots (pressure, etc) using Matplotlib. I've
> googled a little but does anyone have any pointers or
> links to help get me started?
>
> Thanks!
>
> Jeff
>
The functions you want are 'contour' for contour line plots, and 'contourf'
for filled contour plots. Start with
http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.contour, which
describes the contour function and includes example plots with source code.
Ian