Re: zooming in on a map plot

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 07 2012 - 15:08:13 MST

Hi Nicole,
You can usually do this by setting mpLimitMode along with a few
complimentary resources. For instance:

res@mpLimitMode = "LatLon"
res@mpMinLonF = 130.
res@mpMaxLonF = 220.
res@mpCenterLonF = (res@mpMinLonF+res@mpMaxLonF)/2.
res@mpMinLatF = 20.
res@mpMaxLatF = 75.

See:
http://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpLimitMode

Hope that helps! Adam

On 11/07/2012 02:27 PM, Schiffer, Nicole June wrote:
> Is there a way to zoom in on a map plot without plotting only a subset of
> the data or masking the data?
>
> Masking shows only the data I want, but it doesn't fill the whole plot
> window. Plotting a subset of the data is not trivial, but is doable if I
> can't just limit the bounds of the plot.
>
> Thanks,
> Nicole
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> * Nicole Schiffer
> * Science Writing Intern (NCSA)
> * Graduate Research Fellow (Dept. of Energy)
> * Department of Atmospheric Sciences
> * University of Illinois, Urbana-Champaign
> * Email: nschiff2 [at] illinois [dot] edu
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 7 15:08:19 2012

This archive was generated by hypermail 2.1.8 : Tue Nov 13 2012 - 14:27:24 MST