comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Using delta functions to plot?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Using delta functions to plot? [message #27887] Fri, 09 November 2001 13:27 Go to previous message
Don J Lindler is currently offline  Don J Lindler
Messages: 19
Registered: April 2001
Junior Member
"Alok Singhal" <alok_singhal@hotmail.com> wrote in message
news:slrn9ulvlg.f9p.alok_singhal@titan.astro.Virginia.EDU...
> Hi
>
> I have some data which I want to plot using deltas. Can it be done in
> IDL?
>
> Thanks,
>
> Alok

If by delta function you mean a verticle line from the x axis to the data
point, try:

plot, transpose([[x],[x],[x]]), transpose([[y*0],[y],[y*0]])

Don Lindler
lindler@rockit.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL save files with programs and files
Next Topic: IDL SpecII results

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 05:18:36 PDT 2025

Total time taken to generate the page: 0.64320 seconds