[ncl-talk] How to overlay map over gsn_csm_contour

Rick Brownrigg brownrig at ucar.edu
Mon Jul 20 09:59:45 MDT 2015


OK, I'm far from expert at this, but I think maybe you want to use the
mpLimitMode resource:

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

something like:

res at mpLimitMode = "LatLon"
res at mpMinLatF = min( yourLatVar )   ; perhaps add/subtract a few percent
for a nice margin
res at mpMaxLatF = max(  ... )
res at mpMinLonF = min( ... )
res at mpMaxLonF = max( ... )




On Mon, Jul 20, 2015 at 9:50 AM, Tabish Ansari <tabishumaransari at gmail.com>
wrote:

> Hi
>
> Thanks for your reply.
>
> gsn_csm_contour_map() is giving me map of the whole world overlaid on my
> data instead of the map over the area to which my data belongs.
>
> Thanks
>
> Tabish U Ansari
> IBM Research India Laboratory
> New Delhi
>
> On 20 July 2015 at 21:17, Rick Brownrigg <brownrig at ucar.edu> wrote:
>
>> You might try gsn_csm_contour_map()
>>
>>
>>
>> On Mon, Jul 20, 2015 at 9:44 AM, Tabish Ansari <
>> tabishumaransari at gmail.com> wrote:
>>
>>> Hi
>>>
>>> I have a 2d data which I want to plot with gsn_csm_contour function and
>>> overlay map information on it, such that I get corresponding lat-long
>>> values on the borders.
>>>
>>> Currently I am getting contour levels (0-60) on the axes.
>>>
>>> Thanks
>>>
>>> Tabish
>>>
>>> Tabish U Ansari
>>> IBM Research India Laboratory
>>> New Delhi
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150720/c5a1e6a6/attachment.html 


More information about the ncl-talk mailing list