MathGroup Archive 1999

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

Search the Archive

Re: combining two plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16775] Re: [mg16708] combining two plots
  • From: "Tomas Garza" <tgarza at mail.internet.com.mx>
  • Date: Wed, 24 Mar 1999 02:24:11 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Joaquim Pratas Leitao wrote:

> I'd like to draw in the same plot a function and some discrete 
> points. How can I combine the ListPlot and Plot comands in the same 
> figure? 

Hi, Joaquim:

Say you have two graphs:

In[1]:= a = Plot[whatever[x],{x,0,1}];
In[2]:= b = ListPlot[listofpoints];

Then

In[3]:= Show[a,b]

does what you want.

Tomas Garza
Mexico City


  • Prev by Date: Re: ReadList Problems
  • Next by Date: Discovered a faster way to Rationalize
  • Previous by thread: Re: combining two plots
  • Next by thread: Re: combining two plots