[Matplotlib-users] Interpolation method of python matplotlib contourf

Athanasios Karagiannidis thankar at live.com
Tue Feb 2 07:22:57 EST 2021


Hello Ian

Another interpolation may come handy in the future. Is it possible to control the interpolation method?

The fact that the current interpolation method is not documented is a pity. I need to reference it in a manuscript...

Sakis

Athanasios F. Karagiannidis
Physicist, PhD Meteorology and Climatology
E-mail: thankar at live.com

________________________________
From: Ian Thomas <ianthomas23 at gmail.com>
Sent: Tuesday, February 2, 2021 1:17 PM
To: Athanasios Karagiannidis <thankar at live.com>
Cc: matplotlib-users at python.org <matplotlib-users at python.org>
Subject: Re: [Matplotlib-users] Interpolation method of python matplotlib contourf

Hello Sakis,

All of Matplotlib's contouring functions (contour, contourf, tricontour, tricontourf) use linear interpolation along grid edges.  This is not explicitly documented anywhere.

Are there other interpolation options that you would like?  I can think of logarithmic as one possibility.

Ian

On Tue, 2 Feb 2021 at 10:08, Athanasios Karagiannidis <thankar at live.com<mailto:thankar at live.com>> wrote:
Hello to all

I want to ask what is the default interpolation method of python matplotlib contourf? Where can I find relative documentation? Could someone help me?

Best regards

Sakis


Athanasios F. Karagiannidis
Physicist, PhD Meteorology and Climatology
E-mail: thankar at live.com<mailto:thankar at live.com>

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org<mailto:Matplotlib-users at python.org>
https://mail.python.org/mailman/listinfo/matplotlib-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/matplotlib-users/attachments/20210202/08947224/attachment-0001.html>


More information about the Matplotlib-users mailing list