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

MathGroup Archive 1997

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

Search the Archive

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.


  • Prev by Date: Re: Generating lists of normally-distributed numbers?
  • Next by Date: Re: NIntegrate with variable region
  • Previous by thread: GreyLevel in ParametricPlot3D
  • Next by thread: Re: laplace transforms