Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg68769] Re: Several functions in a single 2D-plot
  • From: "Stratocaster" <stotz1 at verizon.net>
  • Date: Fri, 18 Aug 2006 03:12:15 -0400 (EDT)
  • References: <ec19f0$oir$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Vicent" <vginer at gmail.com> wrote in message 
news:ec19f0$oir$1 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
>

You will need to perform a ListPlot for each PDF, but assign each ListPlot a 
name.  So do:

Bino = ListPlot[ your info]
Hyper = ListPlot[ your info ]
Chi = ListPlot [ your info]

Then use the show command to put them all together.


Show[ Bino, Hyper, Chi]



You could also look up the "MultipleListPlot" function.  Either way works. 
I like the former. 


  • Prev by Date: Re: calculate Recurrence Equations
  • Next by Date: Re: Complexity of quantifier elimination
  • Previous by thread: RE: Several functions in a single 2D-plot
  • Next by thread: Re: Several functions in a single 2D-plot