Re: RasterModeOn = True ... and stippling

From: landrum <landrum_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 15 2009 - 10:33:21 MDT

Mary -
I got it..... I stippled polygons over the raster fill - took the grid
center and added/subtracted delta-x, delta-y (lat, lon) to make the
polygon and it apppears to work fine. Even paneled it all at the end!

Mary Haley wrote:
> Laura,
> I finally understand what you were trying to tell me before. You're
> right, you can't actually stipple the rasters, that I know of, because
> of the transparency issue. I'm going to see Dave Brown in a second,
> and I'll ask him about this.
> You can do the polygon fill, but I'm not sure how hard it will be to
> make sure you are stippling the same area. I'll ask Dave about this as
> well.
> Hopefully I'll get back to you before you wake up. I think I have about 7
> more hours. :-)
> --Mary
> On Wed, 14 Oct 2009, Laura Landrum wrote:
>> 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:
>>>> 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: <> tel:
>>>> 303-497-1705 fax: 303-497-1348
Received on Thu, 15 Oct 2009 10:33:21 -0600

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