Plotting a RippleContour#

How to plot a RippleContour using inbuilt plotting methods.

from matplotlib import pyplot as plt

from ripplemapper.analyse import add_boundary_contours
from ripplemapper.classes import RippleImage
from ripplemapper.data.example import example_data

ripple_image = RippleImage(example_data[0])
add_boundary_contours(ripple_image, sigma=2)

Plot with RippleContour.plot.

ripple_image.contours[1].plot()
plt.show()
/home/docs/checkouts/readthedocs.org/user_builds/ripplemapper/envs/latest/lib/python3.12/site-packages/ripplemapper/data/example/1_00052_sample.tif - Contour: Lower Boundary

Total running time of the script: (0 minutes 0.061 seconds)

Gallery generated by Sphinx-Gallery