Re: RasterModeOn = True ... and stippling

From: Laura Landrum <landrum_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 14 2009 - 13:32:41 MDT

Hi again -
I'm betting (chocolate? Swiss, of course?) I'll need to use polygons in
the size and shape of the cells to do this (stipple rasters over colored
rasters)... and overlay polygons. Yes?
Laura

Mary Haley wrote:
> I don't know if it helps, but you can change the density of the
> stippled pattern with the cnFillScales resource, and the dot
> size with cnFillDotSizeF.
>
> cnFillScales default to 1.0, and a smaller value will make the dots
> more dense.
>
> The dot size resource is 0.0 by default. Making it larger (in NDC
> units) makes the dots bigger. You have to be careful with this because
> there's no clipping of the dots, and they could go outside your plot
> window if you make them too big.
>
> I'm definitely craving some chocolate. I will tell the Germans in the
> NCL workshop that you insulted their chocolate.
>
> --Mary
>
>
> On Oct 8, 2009, at 11:33 AM, Caspar Ammann wrote:
>
>> Thanks Mary,
>>
>> yeah, go get some German Chocolate and keep telling them that they
>> really should sell Swiss chocolate. Tell them, your fine sensory
>> system keeps alarming you that it is exposed to the wrong stuff ...
>> Swiss chocolate on the other hand ... well leave it at that or I
>> start worrying about your safety!
>>
>> Thanks for the script. Its impressive how you throw this together
>> even on the road. Too bad that raster doesn't know about
>> transparency. So either we composite a raster background with a
>> simple contour stippled foreground (Laura got that bang on!), or we
>> generate two figures, use photoshop to convert the background of the
>> stippled figure into transparent, and then overlay them in photoshop.
>> I'm tending to the second a bit. Two examples, none really completely
>> satisfying are here:
>>
>> http://www.cgd.ucar.edu/ccr/landrum/images/NAmerVolcFig3.jpg
>>
>> In the contour on contour we lose the edges and given the small grid
>> one doesn't quite see exactly what the numbers might be. The second
>> (lower graph) shows better spatial (raster) pattern of the
>> temperature anomalies, yet the contoured stippling leaves sometimes
>> unclear which boxes are really significant...
>>
>> Thanks again and hope you get time to enjoy your trip. Remember, we
>> almost have snow here...
>>
>> Caspar
>>
>>
>>
>> On Oct 8, 2009, at 2:41 AM, Mary Haley wrote:
>>
>>> <stipple.ncl>
>>
>> Caspar M. Ammann
>> National Center for Atmospheric Research
>> Climate and Global Dynamics Division - Paleoclimatology
>> 1850 Table Mesa Drive
>> Boulder, CO 80307-3000
>> email: ammann@ucar.edu <mailto:ammann@ucar.edu> tel: 303-497-1705
>> fax: 303-497-1348
>>
>>
>>
>
Received on Wed, 14 Oct 2009 13:32:41 -0600

This archive was generated by hypermail 2.1.8 : Thu Oct 22 2009 - 12:22:52 MDT