Plog is a flexible tool for Plotting LOGs.
To set up Plog, run from one directory above plog in the command line:
pip install -e plogthis allows modification of the repository. Alternatively one may install directly from git using the command,
pip install git+https://github.com/mpgriff/plog.gitPlog is tested with Python 3.11.
An example script is provided (plotlogs.py). Simply change the directory and file prefix to match. A minimal example is provided below for plotting Dart data.
python
from plog import Dart
import matplotlib.pyplot as plt
bh = Dart('./Results/TSB1_23-Nov-2024/TSB1_23-Nov-2024')
bh.plot()
plt.savefig('./Plots/TSB1p1Y.png',dpi=300)
plt.show()
plt.close()