Re: How to suppress plot output ?
- To: mathgroup at smc.vnet.net
- Subject: [mg58473] Re: How to suppress plot output ?
- From: Peter Pein <petsie at dordos.net>
- Date: Sun, 3 Jul 2005 03:57:36 -0400 (EDT)
- References: <da5jmc$25r$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Paul McHale schrieb: > Hi, > > I am having difficulty forcing a suppression of output for mathematica > commands when writing documents. I want to show a multi-part graph: > > plot1=Plot[ ... ]; > plot2=Plot[ ... ]; > plot3=Plot[ ... ]; > plot4=Plot[ ... ]; > > Show[ plot1, plot2, plot3, plot4 ]; > > In the above, I get four individual plots and one final plot. How do > I suppress the first four? > > Thanks, > Paul > Block[{$DisplayFunction = #1 & }, p1 = Plot[Sin[x], {x, -Pi, Pi}]; p2 = Plot[Cos[3*x/2], {x, -Pi, Pi}] ]; Show[p1, p2]; -- Peter Pein Berlin