There is a high level routine called cursor and it
is very easy to use. Something like,
( $xc, $yc, $ch , $xref,$yref) =
$window->cursor( { XRef=>$xc,
YRef=>yc,
Type=>'CrossHair' } );
The help can be seen by typing
"help PDL::Graphics::PGPLOT::Window" on the
perldl command line. After that search for cursor
with "/cursor" and then "n".
Enjoy,
Xavier
--- Girish V <[EMAIL PROTECTED]> escribió:
> Hi,
>
> I am writing a program to visualize raw data from
> an X-ray experiment
> we are building. I am using pgplot for drawing the
> plots and spectra. I
> am stuck at one point. For easy checking, I want to
> get the pixel values
> under the cursor in the pgplot window. Is there a
> way to show the pixel
> value and cursor position under the mouse pointer in
> a corner of pgplot
> window? I went through the FAQ and mailing list, but
> can not find the info.
>
> with warm regards
>
> Girish
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
>
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl