Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Preventing plotting on output

  • To: mathgroup at
  • Subject: [mg20150] Re: Preventing plotting on output
  • From: Jens-Peer Kuska <kuska at>
  • Date: Sat, 2 Oct 1999 03:05:07 -0400
  • Organization: Universitaet Leipzig
  • References: <7suv5r$>
  • Sender: owner-wri-mathgroup at


Block[{$DisplayFunction = Identity},
  graph1 = Plot[Sin[2 Pi x], {x, 0, 2}] ;
  graph2 = Plot[Sin[4 Pi x], {x, 0, 2}];

Show[{graph1, graph2}, DisplayFunction -> $DisplayFunction]

does what you want.

Hope that helps

> I want to construct some plots and then display them combined on one
> graph.  The Plot[] for each individual plot is fairly lengthy and I was
> hoping to save some space by replacing the "DisplayFunction->Identity"
> with a single word like "nodisp".  In the final Show[] I would then
> turn the display back on with the
> usual "DisplayFunction>$DisplayFunction" (maybe even equate it with a
> single term like "disp").

  • Prev by Date: Re: unix font problem
  • Next by Date: Re: Mathematica programming language
  • Previous by thread: Re: Preventing plotting on output
  • Next by thread: Re: Sorting problem