MathGroup Archive 1999

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

Search the Archive

Re: Simple Question: 2graphs in one?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17506] Re: [mg17462] Simple Question: 2graphs in one?
  • From: BobHanlon at aol.com
  • Date: Mon, 10 May 1999 19:53:14 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 5/9/99 1:12:44 PM, kalina at teleweb.at writes:

>Can anybody tell me how I can plot 2 graphs (e.g. x^2 AND -x^3) in ONE
>graphic-output?
>
>I only know: Plot[x^2, {x, -5, 5}] ... but how to add a second graph?
>

?Plot

"Plot[f, {x, xmin, xmax}] generates a plot of f as a function of x from xmin \
to xmax. Plot[{f1, f2, ... }, {x, xmin, xmax}] plots several functions fi."

Plot[{x^2, -x^3}, {x, -5, 5}];

Bob Hanlon


  • Prev by Date: closing input cells
  • Next by Date: Re: Plotting Problem
  • Previous by thread: Re: Simple Question: 2graphs in one?
  • Next by thread: Re: Simple Question: 2graphs in one?