Note
Go to the end to download the full example code.
Tricontourf Example#
Example of a tricontourf plot.
from gerg_plotting import ScatterPlot, data_from_csv
data = data_from_csv('example_data/sample_glider_data.csv')
plotter = ScatterPlot(data=data)
plotter.tricontourf(x='time',y='depth',z='temperature')
plotter.ax.invert_yaxis()
plotter.save('example_plots/tricontourf_example.png',bbox_inches='tight')
Total running time of the script: (0 minutes 7.106 seconds)