MathGroup Archive 2006

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

Search the Archive

question about plot


I define a delta sequence.


delta[n_, x_] := n/(Sqrt[Pi]/E^((-n^2)*x^2))

I can't understand what I do wrong in the following command.
I really appreciate any comments.

Show[(Plot[delta[#1, x], {x, -2, 2}, DisplayFunction -> Identity,
PlotRange -> All, ImageSize -> {800, 500}, PlotStyle -> Hue[#1],
PlotLegend -> StringJoin["n= ", ToString[#1]]] & ) /@ Range[0, 10],
DisplayFunction -> $DisplayFunction]


  • Prev by Date: adding assumptions to Integrate
  • Next by Date: General--Mathematica and Subversion
  • Previous by thread: RE: question about plot
  • Next by thread: Re: question about plot