# PPSD plot\_spectrogram()

**URL:** <https://discourse.obspy.org/t/ppsd-plot-spectrogram/1604>\
**Category:** Usage Questions\
**Created:** [December 27, 2022, 1:25am UTC](https://discourse.obspy.org/t/ppsd-plot-spectrogram/1604 "2022-12-27T01:25:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ganmura](https://discourse.obspy.org/user_avatar/discourse.obspy.org/ganmura/32/636_2.png) [@ganmura](https://discourse.obspy.org/u/ganmura)\
**Post date:** [December 27, 2022, 1:25am UTC](https://discourse.obspy.org/t/ppsd-plot-spectrogram/1604/1 "2022-12-27T01:25:28Z")

</div>

Hello,

I wonder if there is any simple way to convert from period to frequency in y-axis in ppsd.plot\_spectrogram().

Best,  
Masahiro

 ![BLD_PPSD](https://discourse.obspy.org/uploads/default/original/1X/882447f6d9d72623eb78ae195499afb2c064c2b6.png)

---

<div class="post-metadata">

**Author:** ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)\
**Post date:** [December 27, 2022, 6:49am UTC](https://discourse.obspy.org/t/ppsd-plot-spectrogram/1604/2 "2022-12-27T06:49:40Z")

</div>

I don’t think that’s builtin currently, should not be too hard to get done though. I think the way to do this is pretty much outlined here: [PPSD.plot\_spectrogram - #10 by megies](https://discourse.obspy.org/t/ppsd-plot-spectrogram/1337/10)

---

<div class="post-metadata">

**Author:** ![ganmura](https://discourse.obspy.org/user_avatar/discourse.obspy.org/ganmura/32/636_2.png) [@ganmura](https://discourse.obspy.org/u/ganmura)\
**Post date:** [December 27, 2022, 7:08am UTC](https://discourse.obspy.org/t/ppsd-plot-spectrogram/1604/3 "2022-12-27T07:08:23Z")

</div>

oh thank you! I overlooked that thread..
