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

MathGroup Archive 2001

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

Search the Archive

Re: Plot DiracDelta[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28478] Re: [mg28465] Plot DiracDelta[]
  • From: maarten.vanderburgt at icos.be
  • Date: Sun, 22 Apr 2001 01:30:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Max,

Plot initially evaluates f at a number of equally spaced sample points
specified by PlotPoints. Then it uses an adaptive algorithm to choose
additional sample points, attempting to produce a curve in which the bend
between successive segments is less than MaxBend. It subdivides a given
interval by a factor of at most PlotDivision.
You should realize that with the finite number of sample points used, it is
possible for Plot to miss features in your function. To check your results,
you should increase the setting for PlotPoints.

Since the delta function is infinitely narrow increasing PlotPoints will
generally not help.
Instead, try:
list = {{1,1}};
ListPlot[list];

I assume this is what you want to see.

Maarten van der Burgt
Leuven, Belgium





Max Ulbrich <ulbrich at biochem.mpg.de> on 20-04-2001 10:24:14 AM

cc:

Subject: [mg28478]  [mg28465] Plot DiracDelta[]


Hi,

does anybody know if there is a possibility
to include the DiracDelta[] in a Plot?
If I have

Plot[DiracDelta[x-1],{x,0,2}]

I see nothing, but I would like to see
a vertical line at x=1.

Max








  • Prev by Date: Re: PC - Mac Compatibility
  • Next by Date: Re: vector field plotting
  • Previous by thread: Re: Plot DiracDelta[]
  • Next by thread: RE: Plot DiracDelta[]