Advanced Plotting

This section covers some advanced plotting techniques in stratapy, including custom figure layouts, correlated logs, and subplots of logs. This functionality allows for more complex visualisations and tailored presentations of stratigraphic data, while still being accessible to users with varying levels of programming experience.

Two built-in functions enable the contents of all logs to be placed into a single figure with a shared legend and other useful display options (e.g. vertical alignment and shared axes), which is particularly useful for complex figures with multiple logs. The sections below provide examples of how to use these functions effectively, and how matplotlib can be used to create custom figure layouts with additional panels for complementary data.

Correlated Logs

Vertically align multiple logs with a shared legend

correlated_logs.html
Multiple Logs

Plot multiple logs in one figure with a shared legend

multi_fig.html
Custom Layouts

Use Matplotlib to create bespoke figure layouts with logs and other data

custom_figure_layouts.html