MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: GridLines on top of Raster or RasterArray?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69336] Re: GridLines on top of Raster or RasterArray?
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 7 Sep 2006 23:58:03 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <edoln5$hrl$1@smc.vnet.net>

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...
| 



  • Prev by Date: Re: Fit rectangle to set of points
  • Next by Date: Re: Fit rectangle to set of points
  • Previous by thread: RE: GridLines on top of Raster or RasterArray?
  • Next by thread: Re: GridLines on top of Raster or RasterArray?