Re: Help: Saving/Printing graphics output
- To: mathgroup at smc.vnet.net
- Subject: [mg7598] Re: [mg7541] Help: Saving/Printing graphics output
- From: seanross at worldnet.att.net
- Date: Thu, 19 Jun 1997 03:14:00 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Kwadwo Ampofo Appiah wrote: > > I'm using version 2.2(text-based interface) and need to know how to save a > graphics output to a file and/or print the graphics. > > I have tried the following without success: > > >In[12]:= Display["eigenplot1", Out[5], "EPS"] > > > >Display::nonopt: > > Options expected (instead of EPS) beyond position 2 in > > Display[eigenplot1, -DensityGraphics-, EPS]. An option must be a rule > >or a > > list of rules. > > What options are being referred to above? If options are not specified, > should Mathematica not use the default settings? Does version 2.2 support > "Display"? > > Also, how do I send the output to a printer? the command: > > Display["!lpr", Out[5], "EPS"] did not work. > > Somebody please help. > > Sincerely, > > K. Appiah You are attempting to use version 3.0 options in version 2.2. Looking on page 781 of the 2.2 mathematica book, I see that Display does not support different file types. It only displays in a specialized postscript format. I think this means you won't be able to print graphics directly from anything but a postscript printer. You really need documentation(ie, an appropriate Mathematica book) to be able to get anything done in mathematica. If you can't find one (since I doubt wolfram is selling 2.2 mathematica books anymore), I recommend getting in the habit of typing ??command on any commands you get error messages on. In the question above, ??Display would have clued you in on what options were supported in 2.2.