Hi Guangshan,
-1 tells NCL to use transparency.
Adam
On 02/05/2010 04:11 PM, guangshan chen wrote:
> Hi Adam,
>
> Thanks again for your script.
>
> I have one question about this resource:
> res@mpFillColors = (/-1,0,-1,-1/)
>
> what color is it for "-1"? I know "0" is white.
>
> Guangshan
>
> On Feb 5, 2010, at 12:28 PM, Adam Phillips wrote:
>
>> Hi Guangshan,
>> This isn't easy, primarily because the oceans need to be drawn over the extratropical polygons, while the land has to be drawn over the tropical polygons. This results in the need to draw 2 plots, with a tropical strip plot overlaying a 60S-60N plot. Possible, but tedious. I've attached a script and its' corresponding plot.
>>
>> One word of note regarding using tfPolyDrawOrder: In the upcoming version of NCL you can simply set this in your polygon resource list. Previous versions of NCL require you to use setvalues, as is illustrated in the script.
>> Adam
>>
>> On 02/04/2010 09:27 PM, guangshan chen wrote:
>>> Dear all,
>>>
>>> Has anybody done this kind of plot before using NCL? Can you share your script with me? or any suggestions?
>>>
>>> Thanks in advance.
>>>
>>> Guangshan
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>> --
>> __________________________________________________
>> Adam Phillips asphilli@ucar.edu
>> National Center for Atmospheric Research tel: (303) 497-1726
>> Climate and Global Dynamics Division fax: (303) 497-1333
>> P.O. Box 3000
>> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
>> <primitive_draworder.ncl><primitive_draworder.gif>_______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- __________________________________________________ Adam Phillips asphilli@ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 Climate and Global Dynamics Division fax: (303) 497-1333 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-talkReceived on Fri Feb 5 16:20:08 2010
This archive was generated by hypermail 2.1.8 : Sun Feb 07 2010 - 15:37:25 MST