<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 = "Explicit"</div><div>pres@tmXBValues = (/".02",".10",".20",".3333",".50"/)</div><div>pres@tmXBLabels = (/"50","10","5","3","2"/)</div></div><div>pres@tiXAxisString = "Period (years)"</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"><<a href="mailto:sbratna2012@gmail.com" target="_blank">sbratna2012@gmail.com</a>></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 'spec_4.ncl' but I need "period<br>
(year)" in the X-axis instead of "Frequency".<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>