Re: Showing Plot and ListPlots on the same graph
- To: mathgroup at smc.vnet.net
- Subject: [mg9018] Re: [mg8976] Showing Plot and ListPlots on the same graph
- From: Allan Hayes <hay at haystack.demon.co.uk>
- Date: Wed, 8 Oct 1997 00:05:16 -0400
- Sender: owner-wri-mathgroup at wolfram.com
dude at unr.edu
[mg8976] Showing Plot and ListPlots on the same graph
> I have been able to plot data with ListPlot and a function
> with Plot but I would like to put them on the same graph.
dude:
use Show:
plt1 =ListPlot[ {{0,1},{3,0},{5,1}}, PlotJoined->True,
PlotStyle -> Hue[0]]
plt2= Plot[Sin[x],{x,0,7}, PlotStyle -> Hue[.7]]
Show[plt1,plt2]
Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk/training.html
voice:+44 (0)116 2714198
fax: +44 (0)116 2718642
Leicester, UK