MathGroup Archive 2006

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

Search the Archive

Re: GridLines on top of Raster or RasterArray?


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?