Data cursor for surface plots in m-file

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by