Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

rasterarray border?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55989] rasterarray border?
  • From: Manuel Marques-Pita <m.marques-pita at ed.ac.uk>
  • Date: Wed, 13 Apr 2005 01:10:13 -0400 (EDT)
  • Organization: Edinburgh University
  • Sender: owner-wri-mathgroup at wolfram.com

hello,

I am drawing a rasterarray in which I need to draw a border/stroke round 
some of the elements in the array (all the ones != -1 below).

Show[Graphics[RasterArray[von /.
           {-1 -> RGBColor[1, 1, 1],
             0 -> RGBColor[0.97, 0.97, 1],
             1 -> RGBColor[0.3, 0, 0],
             2 -> RGBColor[1, .78, .78]}]],
     AspectRatio -> Automatic];

I haven't found a way to do this yet, any ideas/suggestions?

Thanks in advance!

Manuel


  • Prev by Date: Re: enumerating list items
  • Next by Date: Font problems!
  • Previous by thread: Re: Mandrake 10.1 and Mathematica 5.0?
  • Next by thread: Re: rasterarray border?