If you scroll up just a little bit from 
http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Plotting_with_PDL::Graphics::Gnuplot#Error_bars
 there is a nice example of what it sounds like you're looking for.
        
Derek

On Mar 11, 2013, at 2:04 PM, Chris Marshall wrote:

> 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
> 


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

Reply via email to