MathGroup Archive 2001

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

Search the Archive

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!!
>
>
>
>
>






  • Prev by Date: Re: Unappropiate context in a package [correction]
  • Next by Date: Problems with TeX and EPS output (v3.0, mac)
  • Previous by thread: Re: same plot for continous and discrete function
  • Next by thread: Re: same plot for continous and discrete function