[Kst] [Bug 115970] Datamode doesn't work on images.

Matthew D Truch matt at truch.net
Wed Nov 9 02:12:58 CET 2005

On Wed, Nov 09, 2005 at 01:04:38AM -0000, netterfield at astro.utoronto.ca wrote:
> Non data mode:
> 	whether or not curves exist:
> 		Not over image: 
> 			x,y of the cursor
> 		Over image: 
> 			x,y,z of image under the cursor.
> Data mode:
> 	If curves exist: 
> 		If over image:
> 			x,y of nearby curve, z of image under that point.
> 		if not over image:
> 			x,y of nearby curve
> 	If curves do not exist
> 		Same as non-data mode

For the case of: Data mode -> curves don't exist, I think it's important
that instead of x,y,z of image under the cursor, it needs to be nearest
x,y,z that is data in the underlying matrix, with the appropriate
'datamode marker' indicating where that is.  

But this conflicts with the behavior of: data mode -> curves exist ->
over an image, as if the x,y of the nearby curve are shown, there's no
reason that it would coorespond with an x,y of the image's data.  The
point of datamode is that you can see actual values that coorespond to
actual data, not an interpolation thereof.  

"One in every seven days is a Thursday."
Matthew Truch
Department of Physics
Brown University
matt at truch.net

More information about the Kst mailing list