<div dir="ltr">Hi Ana,<div>Try using lonPivot to alter your longitudes to run from -30:330.:</div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/lonPivot.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Contributed/lonPivot.shtml</a><br></div><div><br></div><div>If you truly want to go from -30E:360 you will have to alter your input data array to run from over the same set of longitudes. </div><div>If you have any further questions let ncl-talk know.</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 2, 2019 at 8:27 AM Anahita Amiri Farahani via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><div><br></div><div>I am trying to change the longitude axis for the attached plot, because both Atlantic and Pacific Oceans are important for example instead of starting from zero I would prefer to start from 60E and another possibility is longitude goes from -30 to 360. how can I do that, this is my script:</div><div><br></div><div><br></div><div>wks   = gsn_open_wks ("eps", "omega_response")        ; send graphics to PNG file<br> gsn_define_colormap(wks,"BlRe")<br> res                 = True                    ; plot mods desired<br> res@tiMainString    = "Omega Response"        ; title<br>  res@gsnDraw   = False                             ; don't draw yet<br>  res@gsnFrame  = False                             ; don't advance yet<br>  res@cnLevelSpacingF = 2.                      ; contour interval<br><br>res@trYMinF     = 100;0               ; set minimum Y-axis value<br>res@trYMaxF     =  1000;12250;1200               ; set maximum Y-axis value</div><div><br>res@cnLevelSelectionMode =  "ManualLevels"   ; AutomaticLevels<br>  res@cnMinLevelValF       = -0.05              ; min level<br>  res@cnMaxLevelValF       =  0.05             ; max level<br>  res@cnLevelSpacingF      =  0.005                ; interval<br><br> res@cnLinesOn       = False                   ; turn off contour lines<br> res@cnLineLabelsOn  = False                   ; tuen off line labels<br><br> res@cnFillOn        = True                    ; turn on color<br> res@trYReverse = True                     ; reverse Y-axis<br> res@gsnContourZeroLineThicknessF = 2.           ; doubles thickness of zero contour<br><br>plot = gsn_csm_hov(wks, fine1, res)<br></div><div><br></div><div><br></div><div>Thanks,</div><div>Ana</div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-1463914212195391692gmail_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>