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