This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Graphics and Sound  /

  • Display[ channel , graphics ] writes graphics or sound to the specified output channel in Mathematica PostScript format.
  • Display[ channel , graphics , " format "] writes graphics or sound in the specified format.
  • Display[ channel , expr , " format "] writes boxes, cells or notebook expressions in the specified format.
  • The output channel can be a single file or pipe, or a list of them.
  • The graphics in Display can be Graphics, Graphics3D, SurfaceGraphics, ContourGraphics, DensityGraphics or GraphicsArray.
  • The graphics can also include Sound.
  • The expr in Display can be Cell, Notebook or any boxes, as generated by ToBoxes[ expr ].
  • The following formats can be used:
  • The following options can be given:
  • $DisplayFunction is usually given in terms of Display.
  • If any of the specified files or pipes in channel are not open, Display uses OpenWrite to open them, then closes these particular files or pipes when it has finished.
  • In many cases, Display calls the Mathematica notebook front end via MathLink. If the front end is not present, certain capabilities of Display may not be available.
  • When displaying text, Display may make use of fonts that are specifically installed for Mathematica.
  • See the Mathematica book: Section 1.9.2, Section 1.11.5Section 2.9.14.
  • See also: Write, Show, DisplayString, HTMLSave.

    Further Examples

    This stores the graph in the file Graph1.eps.

    Evaluate the cell to see the graphic.