- #1
rynlee
- 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
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