Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Student Support Forum
-----
Student Support Forum: 'ListPlot, Plot in the same graph...' topicStudent Support Forum > General > Archives > "ListPlot, Plot in the same graph..."

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic | Post New Topic
Author Comment/Response
Peter Pein
05/04/08 09:25am

Hi,

according to http://reference.wolfram.com/mathematica/ref/Show.html?q=Show&lang=en
Show[
ListPlot[{{0.75, 0.7}, {1.5, 1}}, PlotStyle -> {Blue, PointSize[1/30]}],
Plot[Cos[x - 3/2], {x, 0, Pi/2}]
]
should work in version 6.

In v5.2 you can use DisplayTogether[] or

Show[
Block[{$DisplayFunction = Identity},
{ListPlot[{{0.75, 0.7}, {1.5, 1}}, PlotStyle -> {Blue, PointSize[1/30]}],
Plot[Cos[x - 3/2], {x, 0, Pi/2}]}
]]

Peter


URL: ,

Subject (listing for 'ListPlot, Plot in the same graph...')
Author Date Posted
ListPlot, Plot in the same graph... nolispe 05/02/08 11:03am
Re: ListPlot, Plot in the same graph... yehuda ben-s... 05/04/08 04:02am
Re: ListPlot, Plot in the same graph... Peter Pein 05/04/08 09:25am
Re: ListPlot, Plot in the same graph... nolispe 05/06/08 09:35am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic | Post New Topic





 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy