Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*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 1992

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

Search the Archive

Re: Overlapping ListPlot[] and Plot[]

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: Overlapping ListPlot[] and Plot[]
  • From: twj
  • Date: Thu, 5 Nov 92 08:04:57 CST

>From: my2x at fermi.clas.virginia.edu (Munho Yi)
>Subject: Re: Overlapping ListPlot[] and Plot[]
>
>i have to plot.
>ListPlot[{{x1,y1},{x2,y2},{x3,y3}}]
>Plot[F[x],{x,x0,xn}]
>I love to put those graphs into one.
>How can I do that?
>

Show will combine plots.

In[1]:= ??Show
Show[graphics, options] displays two- and three-dimensional graphics, using
   the options specified. Show[g1, g2, ...] shows several plots combined. Show
   can also be used to play Sound objects.

In[1]:= Plot[ Sin[x], {x,0,10}]

Out[1]= -Graphics-

In[2]:= ListPlot[ {1,2,3,2,1}]     


Out[2]= -Graphics-

In[3]:= Show[ %, %%]

Out[3]= -Graphics-

If the plots need conversion, if one is a SurfaceGraphics and the other is
a Graphics3D this will be done automatically.

Tom Wickham-Jones
WRI








  • Prev by Date: rescalling(sp)
  • Next by Date: Re: PS Problems
  • Previous by thread: Re: Overlapping ListPlot[] and Plot[]
  • Next by thread: New Educational Discount for MathTensor