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

Home » Public Forums » archive » Re: error with ARROW
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: error with ARROW [message #58377] Tue, 29 January 2008 08:45 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nakisa writes:

> I have a file includes (x,y) and (x2,y2). I want use ARROW and each
> of (x,y) connect to (x2,y2) .
> After reading data from the file to IDL , I wrote
> ARROW, x,y,x2,y2
> But it doesn't work correctly, Where is the mistake ? It plot
> nothing !

What sort of coordinate system are you using? Are
your data in this coordinate system? In other
works, what method is IDL using to locate these
data points in a display window?


Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: error with ARROW [message #58378 is a reply to message #58377] Tue, 29 January 2008 08:41 Go to previous messageGo to next message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Jan 29, 3:57 pm, nakisa <nakisa.noor...@gmail.com> wrote:
> Hi everybody
> I have a file includes (x,y) and (x2,y2). I want use ARROW and each
> of (x,y) connect to (x2,y2) .
> After reading data from the file to IDL , I wrote
> ARROW, x,y,x2,y2
> But it doesn't work correctly, Where is the mistake ? It plot
> nothing !
> Nakisa

It's difficult to know what your problem might be without knowing
more. Are you getting any error messages? If not, maybe your arrows
are just too small to see?
Try closing all the IDL graphics windows and typing something dead
simple like:
ARROW, 10, 10, 200, 200
Do you get a graphics window opening? Do you get an arrow in it?

Let us know :-)
Chris
Re: error with ARROW [message #58507 is a reply to message #58377] Wed, 30 January 2008 06:58 Go to previous message
nakisa is currently offline  nakisa
Messages: 24
Registered: June 2007
Junior Member
hi
I can't understand your meaning of coordiant system! the file is
produced with fortran in 4 columns . IDL read them this : x =
Reform(data[0,*])

then I wrote ARROW,x,y,x2,y2 , and it doesn't work !!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Moving Axes
Next Topic: moving axes around in 3D plots

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

Current Time: Thu Oct 09 07:02:21 PDT 2025

Total time taken to generate the page: 1.11773 seconds