Raster-Based Graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg6300] Raster-Based Graphics
- From: "Laura D. Vann" <vannl at bellsouth.net>
- Date: Sat, 8 Mar 1997 00:26:22 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello!
I am trying to print out a PhaseSpacePlot using my Wavelet Explorer
package. It shows fine on the screen with rectangles of different
gray levels; however, when I print it out I get nothing but black.
I looked at the definition of the function, and it uses the Raster
command to shade the blocks so I went to The Mathematica Book (for
version 3.0) to look it up. I did the example on pages 477-478
which is as follows:
modtab=Table[Mod[i,j]/3,{i,4},{j,4}]//N
Show[ Graphics[ Raster[%] ] ]
Again, this showed fine on my screen, but printed completely black
except for the one white rectangle.
Then I did the example on page 479 which doesn't use the Raster
command - only GrayLevel as follows:
{{GrayLevel[0.5], Rectangle[{0,0},{1,1}]},Rectangle[{1,1},{2,2}]}
Show[ Graphics[%] ]
This showed on the screen AND printed out just fine. Does anyone
have any idea why the Raster command doesn't print correctly? Is
there some setting I need to change?
By the way, when using the Raster command if I save the file in
another format such as Windows Metafile and then import it into my
word processor it prints as it should! Thanks.