Re: Re: GridLines on top of Raster or RasterArray?
- To: mathgroup at smc.vnet.net
- Subject: [mg69367] Re: [mg69336] Re: GridLines on top of Raster or RasterArray?
- From: gardyloo <gardyloo at mail.wsu.edu>
- Date: Sat, 9 Sep 2006 03:26:45 -0400 (EDT)
Thanks, Jens-Peer. That works wonderfully. Regards, C.O. Jens-Peer Kuska wrote: > Hi, > > gg = Graphics[Raster[Table[Random[], {16}, {16}]], > Frame -> True, GridLines -> Automatic] // > FullGraphics; > > gg /. Graphics[{a___, r_Raster, b___}, opts___] :> > Graphics[{r, a, b}, opts] // Show > > Regards > > Jens > > "gardyloo" <gardyloo at mail.wsu.edu> schrieb im > Newsbeitrag news:edoln5$hrl$1 at smc.vnet.net... > | Dear Group, > | > | Is there a relatively "automatic" way of > displaying GridLines on top of > | a Raster or RasterArray object? I suppose I > could extract the primitives > | after an object is produced, then make sure the > grid is displayed > | afterward... As it is, it seems that the grid is > only ever displayed > | after the raster object, and thus only shows up > poking out under the > | raster object's edges... > | > > > > -- ========================================================== Curtis Osterhoudt gardyloo at mail.remove_this.wsu.and_this.edu PGP Key ID: 0x088E6D7A Please avoid sending me Word or PowerPoint attachments See http://www.gnu.org/philosophy/no-word-attachments.html ==========================================================