Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: Showing Plot and ListPlots on the same graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9038] Re: [mg8976] Showing Plot and ListPlots on the same graph
  • From: seanross at worldnet.att.net
  • Date: Wed, 8 Oct 1997 00:05:35 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

dude at unr.edu wrote:
> 
> 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.
> Does anyone know how this might be done?
> 
> thanks in advance
Dear Dude,

Use the command Show as in:

Show[ListPlot[data,DisplayFunction->Identity],
Plot[myfunction[x],{x,xmin,xmax},
DisplayFunction->Identity],DisplayFunction->$DisplayFunction]


Omission of all the DisplayFunction's will give you the individual
graphs as well as the combined one.


  • Prev by Date: Network version 3.02 for windows NT 3.51
  • Next by Date: Revised Simplex Method
  • Previous by thread: Re: Showing Plot and ListPlots on the same graph
  • Next by thread: Re: Showing Plot and ListPlots on the same graph