Hi Helen,
See:
http://www.unidata.ucar.edu/staff/russ/visad/msg09608.html
for an answer about how to get the temperature value at the
cursor location.
Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html
On Fri, 19 Apr 2002, Helen Yi wrote:
> Hi,
>
> I have creates a 2D display using function
>
> index = f (x, y, temp)
>
> ScalarMap lonMap = new ScalarMap(x, Display.XAxis);
> ScalarMap latMap = new ScalarMap(y Display.YAxis);
> ScalarMap tempMap = new ScalarMap(temperature, Display.RGB);
>
> I want know the value of x, y and temperature at which my mouse button
> has clicked.
>
> I know that click on left button, I could have x and y value but I also
> want to have temperature value.
>
>
> Thanks for your help.
>
> Helen
>
>
>