Hi Craig-

I've been starting to use PGG to plot some flow fields
from image data.  The images are displayed with the
usual origin at the top left and y-index increasing down
the screen.

Unfortunately, I can't figure out how to plot the vector
field in the same coordinates:  e.g.,

 imag2d $img, 'my image'
 gplot( { justify=>1 }, with=>'vectors', $s->using(0,1),
($d)->using(0,1), { flipy=>1 } );

but this doesn't seem to do the right thing.  That is, if $d at
one of the points in the image (at the corresponding $s), is
[0,1], I would like to see a a vector arrow starting at the
point in $s and pointing straight down 1 unit.  Similarly,
if $d at the point was [-1,0] then the vector would be
drawn horizontal and pointing to the left.

Cheers,
Chris

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to