trim ppsd.plot_spectrograms images

Dear all,I’m using ppsd.plot_spectrogram and I’ll like to trim the period range and include a title, options not listed in the ppsd.plot_spectrogram manual page. How to proceed ?
I guess it may have to do with manipulating the figure using matplotlib, but I will appreciate any clue / example

Best,
Jordi

Hi Jordi,
You can trim the period range by using the option period_lim(t1,t2), see below. Adding the title might need some additional work like you’ve mentioned.

PPSD.plot(filename=None, show_coverage=True, show_histogram=True, show_percentiles=False, percentiles=[0, 25, 50, 75, 100], show_noise_models=True, grid=True, show=True, max_percentage=None, period_lim=(0.01, 179), show_mode=False, show_mean=False, cmap=<matplotlib.colors.LinearSegmentedColormap object at 0x43166aac>, cumulative=False, cumulative_number_of_colors=20, xaxis_frequency=False, show_earthquakes=None)

Januka Attanayake

Research Fellow | Earthquake Seismology

Homepage: https://sites.google.com/site/janukaattanayake

School of Earth Sciences | McCoy Bldg. 200
University of Melbourne | Parkville 3010 VIC
Australia