MathGroup Archive 2006

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

Search the Archive

RE: Several functions in a single 2D-plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68786] RE: [mg68703] Several functions in a single 2D-plot
  • From: "David Park" <djmp at earthlink.net>
  • Date: Fri, 18 Aug 2006 03:12:44 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Vicent,

You can use the Plot statement with a list of functions.

Plot[{function1, function2, function3}, {x, min, max},
  PlotStyle -> {style1, style2, style3}];

That uses the same domain for all three functions. If you want different
domains you could make separate plots and then combine then with
DisplayTogether from the Graphics`Graphics` standard package.

If you want further customization you could try the DrawGraphics package
from my web site.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Vicent [mailto:vginer at gmail.com]
To: mathgroup at smc.vnet.net


Hi, everyone!

I am new to Mathematica, and I have a quick question that will be very
easy for you, I guess.

How can I plot several functions within the same 2D graphic?

For example, I want to draw the PDF of 3 continuous statistical
distributions (I mean, 3 functions), but put together into the same 2D
plot.

Thank you in advance!

--
Vicent



  • Prev by Date: Re: calculate Recurrence Equations
  • Next by Date: Re: FileNames subdirectory count discrepancy
  • Previous by thread: Re: Several functions in a single 2D-plot
  • Next by thread: Re: Several functions in a single 2D-plot