Subsurface Syntax

Subsurface Syntax

Creating Simple Well Log Plots Using the Matplotlib Library in Python

Andy McDonald's avatar
Andy McDonald
Aug 08, 2021
∙ Paid

Visualising well log data versus depth using the matplotlib library from Python

Well log plot created using the matplotlib Python library. Image by author.

Introduction

Well log plots are a common visualization tool within geoscience and petrophysics. They allow easy visualization of data (for example, Gamma Ray, Neutron Porosity, Bulk Density, etc) that have been acquired along the length (depth) of a wellbore. On these plots, we display our logging measurements on the x-axis and measured depth or true vertical depth on the y-axis.

In this short article, we will see how to create a simple log plot visualisation from one of the Volve Wells that was released as part of a larger dataset by Equinor in 2018.

I have previously covered different aspects of making these plots in the following articles:

  • Displaying Lithology Data on a Well Log Plot Using Python

  • Displaying Logging While Drilling (LWD) Image Logs in Python

  • Enhancing Visualization of Well Logs With Plot Fills

For this tutorial, the notebo…

Keep reading with a 7-day free trial

Subscribe to Subsurface Syntax to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Andy McDonald · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture