Data cursor for surface plots in m-file

Hi,
I am trying to put a data cursor for my surface plot zith using data cursor option in the figure. I will be doing succesive calculations qnd graph them so I do not wan to spend time to put the data cursor everytime. I want the data cursor always in the same position max(x) and max(y), as in mesh(y,x,Temperature)
I looked at this link http://www.mathworks.com/matlabcentral/newsreader/view_thread/235396
FIG=mesh(y,x,Temperqture) datacursormode on wbdf = get(gcf,'WindowButtonDownFcn'); % I do not know what this is doing dcm = wbdf{3}{2}; % same in here «3 ? 2 ?
I appreciate the help , thank you

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

2011 年 3 月 17 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by