Mathematica Mathematica Plotting Delta Function

  • Thread starter rynlee
  • Start date
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
 

Want to reply to this thread?

"Mathematica Plotting Delta Function" You must log in or register to reply here.

Related Threads for: Mathematica Plotting Delta Function

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top