Minor correction: gsn_csm_contour_map doesn't care what mpLimitMode you use, but you have to be sure to set the other map resources that are normally required, depending on what you set mpLimitMode to.
Most of our examples do indeed use either "Corners" or "LatLon", but you should be able to use other limits like "Angles".
See example "lb_12.ncl" at:
http://www.ncl.ucar.edu/Applications/labelbar.shtml
which uses "Angles". In this example, you additionally have to set the other "Angle" resources:
res@mpBottomAngleF = 40.
res@mpLeftAngleF = 40.
res@mpRightAngleF = 40.
res@mpTopAngleF = 40.
--Mary
On Jun 17, 2013, at 5:08 PM, David Brown <dbrown@ucar.edu> wrote:
> Hi Craig,
> Although it is true that gsn_csm_contour_map does not support all the possible settings for the mpLimitMode resource, it does support the two most used values: "corners", and "latlon".
> I am attaching a version of geodesic.ncl that sets the map limits using the "latlon" mode, along with the 3rd frame of the plot given this setting. The projection is set to mercator.
> -dave
>
> <geodesic.ncl>
> <geodesic.000003.png>
>
> On Jun 17, 2013, at 4:38 PM, Craig Tierney - NOAA Affiliate <craig.tierney@noaa.gov> wrote:
>
>> I am working with the geodesic.ncl example from the NCL scripts library:
>>
>> http://www.ncl.ucar.edu/Document/Graphics/Scripts/geodesic.ncl
>>
>> I am trying to figure out how to modify this example so that I can plot a subregion of the necdf file on a Mercator projection. Changing the projection was straightforward. However, mpLimitMode is not supported with gsn_csm_contour_map.
>>
>> Is there an option in NCL to do this? Or do I have to iterate through the data and pull out the subregion of interest?
>>
>> Thanks
>> Craig
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jun 23 15:19:41 2013
This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT