VELOVECT Procedure [message #94111] |
Fri, 20 January 2017 08:06  |
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 #94128 is a reply to message #94127] |
Sun, 22 January 2017 09:33  |
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.
|
|
|