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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Using delta functions to plot? [message #27887] Fri, 09 November 2001 13:27
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
Re: Using delta functions to plot? [message #27910 is a reply to message #27887] Thu, 08 November 2001 15:58 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
David Fanning wrote:
>
> P.S. I don't know about you, but I could have
> waited a couple of more weeks for IDL 5.5 if it
> meant adding a Help file and support for basic
> graphics commands. :-(

Now, this is asking too much. Besides, who uses 24 bit Unix? And in
direct graphics?

Pavel

P.S. Hey, this is a JOKE! I know that there are at least five-six people
with 24 bit Linux, because the platform is supported by RSI. And I am
the one of the two-three with a Mac, since we were dropped. Do you think
I got the profit margin accurately?
Re: Using delta functions to plot? [message #27913 is a reply to message #27910] Thu, 08 November 2001 14:26 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Robert Stockwell (rgs1967@hotmail.com) writes:

> Alok Singhal wrote:
>
>> I have some data which I want to plot using deltas. Can it be done in
>> IDL?
>
> how about triangles?
>
> plot,randomn(seed,10),psym=5
>
> Check out the help file for psym,
> and perhaps a groups.google.com search for
> user written psym functions.You can create
> any symbol you want, if you write the
> code to create it.

You guys are so literal. How about something like
this?

IDL> XYOutS, x, y, 'delta'

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Using delta functions to plot? [message #27914 is a reply to message #27913] Thu, 08 November 2001 14:22 Go to previous message
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
Alok Singhal wrote:

> Hi
>
> I have some data which I want to plot using deltas. Can it be done in
> IDL?
>
> Thanks,
>
> Alok



how about triangles?

plot,randomn(seed,10),psym=5

Check out the help file for psym,
and perhaps a groups.google.com search for
user written psym functions.You can create
any symbol you want, if you write the
code to create it.

Cheers,
bob stockwell
Re: Using delta functions to plot? [message #27915 is a reply to message #27914] Thu, 08 November 2001 14:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:

> Basically, everything can be done in IDL.

Well, you can't use the TV command in 24-bit Unix. :-)

But I think he was looking for ERRPLOT or OPLOTERR,
or something like that.

Cheers,

David

P.S. I don't know about you, but I could have
waited a couple of more weeks for IDL 5.5 if it
meant adding a Help file and support for basic
graphics commands. :-(

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Using delta functions to plot? [message #27916 is a reply to message #27915] Thu, 08 November 2001 14:03 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Do you mean, like

PLOT, My_data

?
Basically, everything can be done in IDL.

P

Alok Singhal wrote:
>
> Hi
>
> I have some data which I want to plot using deltas. Can it be done in
> IDL?
>
> Thanks,
>
> Alok
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 18:40:11 PDT 2025

Total time taken to generate the page: 0.00662 seconds