From: Yair Altman on 12 Apr 2010 01:05 "Christopher Schwarz" <cmschwarz(a)ou.edu> wrote in message <hptabt$e2j$1(a)fred.mathworks.com>... > I am trying to edit the data cursor to display basically (x,y,variable) where 'variable' is the 3rd dimension I am plotting. So essentially I am trying to do this: > > figure; > pcolor(double(x),double(y),double(variable)) > colormap > xlabel('.....') > ylabel('.....') > title('.......') > > I would like to edit in datacursormode to display the name 'variable': and then the value at that point. I would greatly appreciate any help with this. > > Chris Use and modify my DataMatrix utility on the File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/16181-datamatrix Yair Altman http://UndocumentedMatlab.com |