Re: dots' size stippled contours

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon May 06 2013 - 07:52:43 MDT

Hi Solange,

Try using cnFillDotSizeF instead. The "gs" resource is for basic polygon draw via gsn_add_polygon or gsn_polygon.

For an example of this resource, see example coneff_11.ncl at:

http://www.ncl.ucar.edu/Applications/coneff.shtml#ex11

--Mary

On May 6, 2013, at 2:49 AM, FERMEPIN Solange wrote:

> Hello everybody,
>
> I want to overlay a stippling pattern for significant regions, so I'm
> following example
> http://www.ncl.ucar.edu/Applications/Scripts/conOncon_4.ncl.
>
> Everything goes right. However, I can not find a way to increase the
> dots' size.
>
> I tried changing the gsFillDotSizeF
> (http://www.ncl.ucar.edu/Document/Graphics/Resources/gs.shtml) resource,
> but nothing happened.
>
> I'm using ncl version 6.1.2. Below, the resources defined for my
> stippled plot.
>
> resdot = True ; resdot probability plots
> resdot@gsnDraw = False ; Do not draw plot
> resdot@gsnFrame = False ; Do not advance frome
> resdot@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
> resdot@cnMinLevelValF = 0.00 ; set min contour level
> resdot@cnMaxLevelValF = 1.05 ; set max contour level
> resdot@cnLevelSpacingF = 0.05 ; set contour spacing
> resdot@cnInfoLabelOn = False
> resdot@cnLinesOn = False ; do not draw contour lines
> resdot@cnLineLabelsOn = False ; do not draw contour labels
> resdot@cnFillScaleF = 0.6 ; add extra density
> resdot@mpMinLatF = -30.0
> resdot@mpMaxLatF = 30.0
> resdot@gsnMajorLatSpacing = 30
> resdot@mpMinLonF = -180.
> resdot@mpMaxLonF = 176.5
> resdot@sfXCStartV = min(precip_amip&lon)
> resdot@sfXCEndV = max(precip_amip&lon)
> resdot@sfYCStartV = max(precip_amip&lat)
> resdot@sfYCEndV = min(precip_amip&lat)
> resdot@gsFillDotSizeF = 0.4
>
> Does anyone know how to do this?
>
> Thank you very much!
> Solange
>
> --
> Solange Fermepin, PhD student
> Laboratoire de Mtorologie Dynamique - CNRS/IPSL
> Tour 45-55, 3me tage
> 4 place Jussieu
> 75252 Paris cedex 05
> France
>
> Tel: +33 (0) 1 44 27 52 77
> E-mail: solange.fermepin@lmd.jussieu.fr
> _______________________________________________
> 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 Mon May 6 07:52:52 2013

This archive was generated by hypermail 2.1.8 : Tue May 07 2013 - 08:38:33 MDT