MathGroup Archive 1997

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

Search the Archive

Re: Multiple plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7307] Re: Multiple plots
  • From: murray at math.umass.edu (Murray Eisenberg)
  • Date: Fri, 23 May 1997 01:41:37 -0400 (EDT)
  • Organization: University of Massachusetts, Amherst
  • Sender: owner-wri-mathgroup at wolfram.com

seanross at worldnet.att.net wrote:
: When you use the Show command to display several plots together,ie

: Show[Plot[f[x],{x,x0,x1}],ListPlot[somedata],ListPlot[someotherdata]]

: It shows each of the separate plots and then puts them all together at
: the end.

: Does anyone know how I could get it not to display any of the individual
: plots and only show the combined plot at the end?

Like this:

firstg = Plot[x^2, {x, 0, 2}, DisplayFunction -> Identity];
secondg = ListPlot[{{0,3},{1,0},{2,1}}, PlotJoined -> True,
          DisplayFunction -> Identity];
Show[firstg, secondg, DisplayFunction -> $DisplayFunction];

See section 1.9.4, "Redrawing and Combining Plots", in "The
Mathematica Book", third edition.

--
  Murray Eisenberg                       Internet:  murray at math.umass.edu
  Mathematics & Statistics Dept.            Voice:  413-545-2859 (W)
  University of Massachusetts                       413-549-1020 (H)
  Amherst, MA 01003                           Fax:  413-545-1801


  • Prev by Date: Re: Combining several pure functions into a single pure function
  • Next by Date: Headers and Footers
  • Previous by thread: Re: Multiple plots
  • Next by thread: Re: Multiple plots