Re: error with ARROW [message #58377] |
Tue, 29 January 2008 08:45  |
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   |
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  |
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 !!
|
|
|