<div dir="ltr">Hi SBR,<div>To switch to period being on the bottom y-axis you can do something like this:</div><div><div>pres@tmXBMode   = &quot;Explicit&quot;</div><div>pres@tmXBValues = (/&quot;.02&quot;,&quot;.10&quot;,&quot;.20&quot;,&quot;.3333&quot;,&quot;.50&quot;/)</div><div>pres@tmXBLabels = (/&quot;50&quot;,&quot;10&quot;,&quot;5&quot;,&quot;3&quot;,&quot;2&quot;/)</div></div><div>pres@tiXAxisString = &quot;Period (years)&quot;</div><div><br></div><div>To alter the Y-axis type, you can set trYAxisType and trYCoordPoints as is done in XY example #30 here:</div><div><a href="http://www.ncl.ucar.edu/Applications/xy.shtml#ex30">http://www.ncl.ucar.edu/Applications/xy.shtml#ex30</a><br></div><div><br></div><div>Hope that helps. If you have any further questions please respond to the ncl-talk email list.</div><div>Adam</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 16, 2017 at 12:52 PM, S. B. Ratna <span dir="ltr">&lt;<a href="mailto:sbratna2012@gmail.com" target="_blank">sbratna2012@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
I would like to plot the spectral analysis for my annual mean data for<br>
about 800 years. I would like to use &#39;spec_4.ncl&#39; but I need &quot;period<br>
(year)&quot; in the X-axis instead of &quot;Frequency&quot;.<br>
Also, the X-axis scale should be 4 8 16 32 64 128 256 512.<br>
Could you please suggest how to draw such figure.<br>
<a href="https://www.ncl.ucar.edu/Applications/Scripts/spec_4.ncl" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/Scripts/spec_4.<wbr>ncl</a><br>
<br>
Thanks.<br>
SBR<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>