|
From: Rayal <ra...@da...> - 2002-12-17 15:29:19
|
Hi
I could obtain the world co-ordinates if I use plframe . However if I =
use Plplotwin object,
I am not able to obtain these values, the reason is that I am not able =
to correctly bind=20
the Plplotwin object.
=20
for example, in this code: =20
=20
bind .p <Button-1> {=20
get_coords %x %y=20
}
proc get_coords {g h} {
=20
update
puts "world coordinates: [.p report wc $g $h]"
}
If .p is a plframe object it works but not if it is a Plplotwin object. =
The "report" option is giving the=20
'bad option' error. Could you please suggest any work around for this.
=20
-Rayal
=20
=20
=20
|