# helicorder plots

**URL:** https://discourse.obspy.org/t/helicorder-plots/289
**Category:** Users Mailing List Archive
**Tags:** archive
**Created:** [March 21, 2014, 2:31pm UTC](https://discourse.obspy.org/t/helicorder-plots/289 "2014-03-21T14:31:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Douchain](https://discourse.obspy.org/letter_avatar_proxy/v4/letter/d/6de8d8/32.png) [@Douchain](https://discourse.obspy.org/u/Douchain)
#### Post date: [March 21, 2014, 2:31pm UTC](https://discourse.obspy.org/t/helicorder-plots/289/1 "2014-03-21T14:31:00Z")

</div>

Dear All,  
I want to plot helicorders at same low amplitudes but I need to clip large amplitude signals.  
So I don't want large signals to overshoot on other lines.  
"vertical\_scaling\_range" allows overshooting.

schan12.plot(equal\_scale = True,type='dayplot',outfile=ficName,format='png',interval=30,methode='fast',\  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size=(1920,1080),right\_vertical\_labels=False, one\_tick\_per\_line=True,\  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;events=trigger\_list, title="helicorder", vertical\_scaling\_range=1000)

Is there another solution that I've missed to achieve that?  
Thanks a lot for your help.  
Jean-Michel

---

<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: [March 22, 2014, 9:57am UTC](https://discourse.obspy.org/t/helicorder-plots/289/2 "2014-03-22T09:57:14Z")

</div>

Hi Jean-Michel,

no idea if it's included in the day plot somewhere, but you can always  
simply tweak the input signals beforehand (just need to figure out where  
to clip with your dayplot settings)..

import numpy as np  
max\_ampl = ...  
for tr in st:  
&nbsp;&nbsp;&nbsp;&nbsp;np.clip(tr.data, -max\_ampl, max\_ampl, tr.data)  
st.plot(...)

hope it helps,  
Tobias
