Re: combining two plots
- To: mathgroup at smc.vnet.net
- Subject: [mg16772] Re: [mg16708] combining two plots
- From: "Nik Semchenok" <nms at pobox.spbu.ru>
- Date: Wed, 24 Mar 1999 02:24:10 -0500
- References: <199903230333.WAA07275@smc.vnet.net.>
- Sender: owner-wri-mathgroup at wolfram.com
>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? Hello! In this case it is necessary to use a command Show. p1=Plot[x^2,{x,-2,2}] p2=ListPlot[Table[{i,Sin[i]},{i,-Pi,Pi,0.5}]] Show[p1,p2] Nik
- References:
- combining two plots
- From: "Joaquim Leitao" <quim@ideiafix.fis.ua.pt>
- combining two plots