How to add a data cursor to a 3d surface which only shows the 'Z-value'?

8 views (last 30 days)
Hi guys,
Imagine I have a very simple: surf(peaks) 3d surface.
I would like to show a tiny pop-up window for a given x and y coordinate which only shows the 'Z' value? and it would be great if I can give the 'Z' a custom name.. such as "Monthly Income" for example.
Does this make sense?
Thank you

Accepted Answer

Walter Roberson
Walter Roberson on 31 May 2015
  8 Comments
Walter Roberson
Walter Roberson on 2 Jun 2015
Keywords so this will get indexed by the search engine: datacursormode datatip createdatatip

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!