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

Home » Public Forums » archive » VELOVECT Procedure
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
VELOVECT Procedure [message #94111] Fri, 20 January 2017 08:06 Go to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
I have image as two dimensional array as
..............................................
IDL> help,b_az
B_AZ FLOAT = Array[500, 1000]
.............................................
I want to use VELOVECT Procedure to draw arrows of values of B_az on this image. when i use this command as

VELOVECT, B_az,B_az,/overplot

appear whit rectangular on this image !!!!

How can I draw arrows of values of B_az on this image correctly?
Re: VELOVECT Procedure [message #94113 is a reply to message #94111] Fri, 20 January 2017 08:20 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Friday, January 20, 2017 at 6:06:32 PM UTC+2, AGW wrote:
> I have image as two dimensional array as
> ..............................................
> IDL> help,b_az
> B_AZ FLOAT = Array[500, 1000]
> .............................................
> I want to use VELOVECT Procedure to draw arrows of values of B_az on this image. when i use this command as
>
> VELOVECT, B_az,B_az,/overplot
>
> appear whit rectangular on this image !!!!
>
> How can I draw arrows of values of B_az on this image correctly?

I want to do like this

http://www11.0zz0.com/2017/01/20/19/217102276.jpg
Re: VELOVECT Procedure [message #94114 is a reply to message #94111] Fri, 20 January 2017 08:22 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Friday, January 20, 2017 at 6:06:32 PM UTC+2, AGW wrote:
> I have image as two dimensional array as
> ..............................................
> IDL> help,b_az
> B_AZ FLOAT = Array[500, 1000]
> .............................................
> I want to use VELOVECT Procedure to draw arrows of values of B_az on this image. when i use this command as
>
> VELOVECT, B_az,B_az,/overplot
>
> appear whit rectangular on this image !!!!
>
> How can I draw arrows of values of B_az on this image correctly?

I want to do like this

http://www11.0zz0.com/2017/01/20/19/217102276.jpg
Re: VELOVECT Procedure [message #94117 is a reply to message #94113] Fri, 20 January 2017 10:27 Go to previous messageGo to next message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
Have you seen this example?

http://www.idlcoyote.com/gallery/index.html#VELOCITYVECTOR
Re: VELOVECT Procedure [message #94120 is a reply to message #94111] Sat, 21 January 2017 04:09 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Friday, January 20, 2017 at 6:06:32 PM UTC+2, AGW wrote:
> I have image as two dimensional array as
> ..............................................
> IDL> help,b_az
> B_AZ FLOAT = Array[500, 1000]
> .............................................
> I want to use VELOVECT Procedure to draw arrows of values of B_az on this image. when i use this command as
>
> VELOVECT, B_az,B_az,/overplot
>
> appear whit rectangular on this image !!!!
>
> How can I draw arrows of values of B_az on this image correctly?

I seen this examples but I did not found what I want.
Re: VELOVECT Procedure [message #94127 is a reply to message #94111] Sat, 21 January 2017 23:23 Go to previous messageGo to next message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
On Friday, January 20, 2017 at 6:06:32 PM UTC+2, AGW wrote:
> I have image as two dimensional array as
> ..............................................
> IDL> help,b_az
> B_AZ FLOAT = Array[500, 1000]
> .............................................
> I want to use VELOVECT Procedure to draw arrows of values of B_az on this image. when i use this command as
>
> VELOVECT, B_az,B_az,/overplot
>
> appear whit rectangular on this image !!!!
>
> How can I draw arrows of values of B_az on this image correctly?

any help
Re: VELOVECT Procedure [message #94128 is a reply to message #94127] Sun, 22 January 2017 09:33 Go to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Sunday, January 22, 2017 at 12:23:53 AM UTC-7, AGW wrote:
> On Friday, January 20, 2017 at 6:06:32 PM UTC+2, AGW wrote:
>> I have image as two dimensional array as
>> ..............................................
>> IDL> help,b_az
>> B_AZ FLOAT = Array[500, 1000]
>> .............................................
>> I want to use VELOVECT Procedure to draw arrows of values of B_az on this image. when i use this command as
>>
>> VELOVECT, B_az,B_az,/overplot
>>
>> appear whit rectangular on this image !!!!
>>
>> How can I draw arrows of values of B_az on this image correctly?
>
> any help

How did you display your image in order to overplot the vectors? Did you establish your image display's data coordinate system or just use TV or the equivalent? Velovect when using OVERPLOT expects a data coordinate space to have been established first. That is, it needs to know where the origin of the image is in the window, and the scaling between pixels and data space.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Orientation of 2-d plot
Next Topic: Identifying tags within a region

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

Current Time: Wed Oct 08 15:14:13 PDT 2025

Total time taken to generate the page: 0.00469 seconds