[ncl-talk] How to plot a subset of data
Alan Brammer
abrammer at albany.edu
Fri Sep 5 07:51:37 MDT 2014
Chances are you don't need to worry about the where statement. Just set the
extent of the map through the plot resources. Did you look at the examples
page. https://www.ncl.ucar.edu/Applications/cylineq.shtml Example 3 is
shows you how.
"You must specify the four limits of the map, however:
res at mpMinLonF
res at mpMaxLonF
res at mpMinLatF
res at mpMaxLatF
It is also required to set gsnAddCyclic to False whenever you plot a
non-global domain. "
Good luck,
Alan Brammer
On Fri, Sep 5, 2014 at 6:01 AM, Ekin Akoglu <ekin at ims.metu.edu.tr> wrote:
>
> You may have a look at
> https://www.ncl.ucar.edu/Document/Functions/Built-in/where.shtml to
> select out data in your LAT/LON range from the global data.
>
> Cheers,
>
> Ekin
>
> On 5 September 2014 11:52, Geeta Geeta <geetag54 at yahoo.com> wrote:
>
>> Hi.
>> My problem is that I have global data.
>> I want to plot the data for a range of LAT/LON. When I plot the data
>> using the command,
>> plot=gsn_csm_contour_map_ce(xwks,data,res)
>> it plots over the entire globe.
>> How to select the subset LAT/LON for plotting the data???
>>
>> Can somebody suggest me.
>> Geeta.
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140905/b0099628/attachment.html
More information about the ncl-talk
mailing list