Re: Re : Line thickness

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Mon, 11 May 2009 08:52:32 -0600

Hi Michel,

Louis' idea would work. Another way is to set cnMonoLineThickness =
False, and then set cnLineThicknesses to the appropriate array:

http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMonoLineThickness
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineThicknesses

example:
res = True
....
res_at_cnLevelSelectionMode = "ExplicitLevels"
res_at_cnLevels = (/-5,-3,-2,-1,0,1,2,3,5/)
res_at_cnMonoLineThickness = False
res_at_cnLineThicknesses = (/1,1,3,1,1,1,1,1,1/)

Adam

louis Vonder wrote:
> Hi Michel,
>
> Perhaps this is not the best methods?
>
> You can plot only a figure with -2C contour with a custom thickness and
> then overlay
> your first plot by another plot with regular thickness of the contours.
>
> --Louis
>
> --- En date de : *Lun 11.5.09, Michel dos Santos Mesquita
> /<Michel.Mesquita_at_bjerknes.uib.no>/* a écrit :
>
>
> De: Michel dos Santos Mesquita <Michel.Mesquita_at_bjerknes.uib.no>
> Objet: [ncl-talk] Line thickness
> À: ncl-talk_at_ucar.edu
> Date: Lundi 11 Mai 2009, 9h26
>
> Hi everyone,
>
> I know NCL has the function 'gsnContourZeroLineThicknesssF', to set
> the thickness of the zero contour.
>
> How can I change the thickness of line corresponding to another value?
> For example, if I want to change the thickness of the -2C Temperature?
>
> THanks,
>
> Michel
> _______________________________________________
> 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

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               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-talk
Received on Mon May 11 2009 - 08:52:32 MDT

This archive was generated by hypermail 2.2.0 : Mon May 11 2009 - 09:43:46 MDT