Back to Browse

Contour Plots in Python | using Matplotlib

8.2K views
Dec 3, 2021
5:05

In this quick and simple tutorial, we will create contour plots in Python using NumPy and Matplotlib. These define the iso-lines of scalar fields with two dependencies. ------- 📝 : Check out the GitHub Repository of the channel, where I upload all the handwritten notes and source-code files (contributions are very welcome): https://github.com/Ceyron/machine-learning-and-simulation 📢 : Follow me on LinkedIn or Twitter for updates on the channel and other cool Machine Learning & Simulation stuff: https://www.linkedin.com/in/felix-koehler and https://twitter.com/felix_m_koehler 💸 : If you want to support my work on the channel, you can become a Patreon here: https://www.patreon.com/MLsim ------- Timestamps: 00:00 Introduction 00:30 A 2D Mesh 01:16 First Scalar Field 01:29 First Contour Plot 02:08 Filled Contour Lines 02:32 Number of Isolines 02:48 Color ranges 03:14 Heart-Shaped Contour Lines 04:05 Changing Colormap 04:36 Outro

Download

1 formats

Video Formats

360pmp46.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Contour Plots in Python | using Matplotlib | NatokHD