Re: same plot for continous and discrete function
- To: mathgroup at smc.vnet.net
- Subject: [mg29623] Re: same plot for continous and discrete function
- From: "Orestis Vantzos" <atelesforos at hotmail.com>
- Date: Fri, 29 Jun 2001 01:35:56 -0400 (EDT)
- Organization: National Technical University of Athens, Greece
- References: <9hetgb$6jr$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Store the effect of plotting the discontinous graph: GPlot=ListPlot[--your pairs {xi,G[xi]} here---]; Then store the continous plot: FPlot=Plot[F[x],{x,--your domain limits here--}]; Then Show them together: Show[{FPlot,GPlot}] Adding the option DisplayGraphics->Identity to GPlot and FPlot and DisplayFunction->$DisplayFunction to Show, will result in the disappearance of the intermediate plots. Orestis "Martin Harborth" <martin.harborth at ts.siemens.de> wrote in message news:9hetgb$6jr$1 at smc.vnet.net... > -----Ursprüngliche Nachricht----- > Von: Yackov_Shermann [SMTP:yackov at mangocrafts.com] > Gesendet am: Donnerstag, 21. Juni 2001 22:02 > An: Harborth Martin > Betreff: Multiple Plots > > > Hello. > > This is my very first exposure to Mathematica and I can't quite figure out > how to get on the same plot, both a continuous function y=F(x) and a > discrete one yi=G(xi) (actually, a list of {xi, yi}), provided both share > the same definition domain. > Is there a built-in primitive for a such task? > > Yackov > > > ------------------------------ > http://MangoCrafts.com > ------------------------------ > Experience... Everything!! > > > > >