<div dir="ltr">For a map, you would set the  <span style="font-family:arial,sans-serif">mpCenterLonF resource<br></span><div><div><pre>      <span style="font-family:arial,sans-serif">res@mpCenterLonF  = 210     ; center longitude</span><span style="font-family:arial,sans-serif"></span>
</pre><pre>For example:<br>    <a href="https://www.ncl.ucar.edu/Applications/Images/cmorph_4_lg.png" target="_blank"><b>https://www.ncl.ucar.edu/Applications/Images/cmorph_4_lg.png<br><span style="font-family:arial,sans-serif"></span></b></a></pre></div>This shows and  uninterrupted Indian/Pacific/Atlantic Oceans</div><div><br></div><div>---</div><div>You did not include a printVarSummary(fine) or a sample graphic.</div><div> So, it is hard to know how to answer the question.</div><div>---</div><div>You may have to</div><div><br></div><div>[1] Manually reorder the plotted variable or the <b>original </b>variable</div><div>[2] Possibly, if the longitudes span 360, the <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/lonPivot.shtml" target="_blank"><b>lonPivot </b></a>could be used to reorder the <b>original</b> array.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 29, 2019 at 1:45 PM 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 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>