Have you tried tline in the PGPLOT package?

e.g.:

  perldl> $x1 = sequence(5)
  perldl> $x2 = sequence(5) + 10
  perldl> $x = pdl($x1, $x2)
  perldl> $y = pdl(sqrt($x1), $x2*0.4-2)
  perldl> tline $x, $y

or

   perldl> $w = PDL::Graphics::PGPLOT::Window->new(Device => '/xs')
   perldl> $w->tline($x,$y)

loops over the entries in the $x & $y matrices ( you can also give only 
one $x vector). It will loop over options passed to the routine (see the 
documentation for details).

        Cheers,
                Jarle.



Barry Hall wrote:
> I need to plot something on the order of  25k line segments in a  
> single plot -- just to get a quick look at some GIS data -- is there a  
> routine in PDL that takes a line primitive of sorts?
> 
> _______________________________________________
> 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