Data cursor for surface plots in m-file

1 view (last 30 days)
Kamuran
Kamuran on 17 Mar 2011
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

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!