Matplotlib Plot Fills | Applying Shading Between Vertical Curves Using fill between in Python

Published: 11 August 2021
on channel: Andy McDonald
3,474
114

Applying plot fills to our line plots and well log plots in matplotlib allow us to enhance our data visualization and data interpretation. Within petrophysics and log analysis plot fills are commonly used to identify clean and shaley intervals.

If you haven't already, make sure you subscribe to the channel:    / @andymcdonald42  

Chapters:
0:00 Introduction
0:41 Jupyter Notebook Section
0:51 Importing Libraries and Data
1:41 Setting up the Line Plot
3:28 Simple Plot Fill to the Left of Plot from a Line
4:16 Fill Both Side of a Line Plot in Different Colors
5:06 Add a Fill to a Fixed Value
6:15 Add a Variable Fill Based on Data Values From the Line to Left of Plot
10:05 Variable Fill to the Right of the Line to Edge of Plot
10:33 Summary

----

The notebook for this video can be found on my GitHub repository at: https://github.com/andymcdgeo/Andys_Y...

Libraries used in this video:
LASIO: https://lasio.readthedocs.io/en/latest/
pandas: https://pandas.pydata.org
matplotlib: https://matplotlib.org

-----

Books I Recommend:
As an Amazon Associate I earn from qualifying purchases. By buying through any of the links below I will earn commission at no extra cost to you.

PYTHON FOR DATA ANALYSIS: Data Wrangling with Pandas, NumPy, and IPython
UK: https://amzn.to/3HNycJ9
US: https://amzn.to/3DL7qPv

FUNDAMENTALS OF PETROPHYSICS
UK: https://amzn.to/3l1PgSf

PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
UK: https://amzn.to/30UNWZS
US: https://amzn.to/3DNqBbd

WELL LOGGING FOR EARTH SCIENTISTS
UK: https://amzn.to/3FHsbfn
US: https://amzn.to/3CILAuE

GEOLOGICAL INTERPRETATION OF WELL LOGS
UK: https://amzn.to/3l2v2HV
US: https://amzn.to/30UOTkU


-----
Thanks for watching, if you want to connect you can find me at the links below:

  / andymcdonaldgeo  
  / geoandymcd  
  / andymcdonaldgeo  
https://www.andymcdonald.scot/

#matplotlib #petrophysics #python #histograms #welllogs #jupyternotebooks #geoscience


On this page of the site you can watch the video online Matplotlib Plot Fills | Applying Shading Between Vertical Curves Using fill between in Python with a duration of hours minute second in good quality, which was uploaded by the user Andy McDonald 11 August 2021, share the link with friends and acquaintances, this video has already been watched 3,474 times on youtube and it was liked by 114 viewers. Enjoy your viewing!