Mathematica Plotting Delta Function

  • Mathematica
  • Thread starter rynlee
  • Start date
  • #1
45
0
Hi All,

I'm trying to plot some DiscreteDelta functions in mathematica but unfortunately since the points are singular nothing shows up in the plot.

Usually when this comes up I replace the delta functions with very narrow gaussians, graphically it looks even nicer (I'm plotting absorption spectra). This time, however, my delta functions are coming from the fourier transform of Exp[it] i.e. complex oscillations, so mathematica is generating the delta functions (and so I can't replace them manually).

Does anyone have any tricks for getting mathematica to plot delta functions visibly? I tried Fill, no dice.

Thanks for any advice,
rynlee
 

Answers and Replies

Related Threads on Mathematica Plotting Delta Function

Replies
5
Views
2K
Replies
2
Views
6K
Replies
2
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
4
Views
2K
Replies
5
Views
9K
  • Last Post
Replies
6
Views
13K
Replies
3
Views
810
  • Last Post
Replies
9
Views
15K
Top