More about Display
The Mathematica command Display
is used to save a graphic image to a file in a specified format.
Two of the most commonly used formats are
EPS (Encapsulated PostScript)
for printed documents, and
GIF for web browsers.
The third parameter of the Display function
-- ``XXX'' in the command
Display["filename.???", graphobject, "XXX"]
-- can take one of these values:
- EPS
- as described above. ``True'' PostScript
- PSImage
- PostScript bitmap, a restricted kind of PostScript
- GIF
- Compuserve GIF format
- TIFF
- TIFF format
- PDF
- Adobe Acrobat portable document format
- Illustrator
- Adobe Illustrator format
- Metafile
- Microsoft Windows metafile
- PICT
- Macintosh PICT
In addition, any of the following options can be added to the
Display command after the format; e.g.,
Display["pic1.gif", gr, "GIF", ImageSize->{360,200}]
- ImageSize->{w,h}
- specify width and height of image in file
- ImageRotated->True
- the default is False, portrait orientation
- ImageOffset->{x,y}
- offset of the image in the viewing area (default {0,0})