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

Home » Public Forums » archive » error with ARROW
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: error with ARROW [message #58505 is a reply to message #58379] Wed, 30 January 2008 07:13 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
nakisa wrote:
> 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 !!

Let's make an example with this mock data

x=[0.,0.5,1.]
y=[0.,0.2,0.4]
x2=[0.3,0.7,1.1]
y2=[0.3,0.2,0.8]

plot,[0,0],/nodata,xrange=[-1,2],yrange=[-1,2]
arrow,x,y,x2,y2,/data

Does this work for you? Note the /data keyword to arrow!

Ciao,
Paolo
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: array concatenation
Next Topic: workbench filenames and program names

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

Current Time: Fri Oct 10 17:20:24 PDT 2025

Total time taken to generate the page: 1.20161 seconds