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

Home » Public Forums » archive » 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: Plot [message #78749 is a reply to message #7831] Sat, 10 December 2011 06:39 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Poreh writes:

>
> On Dec 9, 4:11 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
>> On 12/9/11 3:06 PM, Dave Poreh wrote:
>>
>>> Folks
>>> hi,
>>> I have a data like this and i want to plot column 1 (x) and column 2
>>> (y) and column 3 as  the name of the points on plot (like 12006, 12507
>>> etc.). Could somebody help please?
>>
>>> 0     0        12006
>>> 35  196.7    12507
>>> 70  779.8    13008
>>> 140  37      14010
>>> .............
>>> Cheers,
>>> Dave
>>
>> Try using XYOUTS.
>>
>> -Jeremy.
>>
>> .
> Mark, when i am running it gives me this error:
> ps = symbol(x, y, sym_text=s, /data)
> but still i have the plot.
> Cheers,
> Dave
> ^
> % Syntax error.

Here's what I get, but honestly, it's what I have
come to expect from function graphics. :-)

IDL> x = [0, 35, 70, 140]
IDL> y = [0, 196.7, 779.8, 37]
IDL> s = string([12006, 12507, 13008, 14010])
IDL>
IDL> ; NG (IDL 8.1)
IDL> p = plot(x, y)
IDL> ps = symbol(x, y, sym_text=s, /data)
% Loaded DLM: XML.
% SYMBOL: Incorrect number of arguments.
% Execution halted at: $MAIN$

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot
Next Topic: call_external

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

Current Time: Wed Oct 08 19:58:06 PDT 2025

Total time taken to generate the page: 0.00511 seconds