

At any one time, only a single such mode can be active in any figure window (this is a known limitation of the design). Under the hood, data tips use a data-cursor mode, which shares many similarities in behavior and programming code with the other plot modes (zoom, pan, data-brushing, etc.). Well, this has never stopped us before, has it? Creating new data tips You cannot place them programmatically (by executing code to position a data cursor). You place data tips only by clicking data objects on graphs.

Unfortunately, the official documentation clearly says that: The idea was to immediately see what the latest value of the data series is. The displayed tooltip text is even customizable using documented properties of the datacursormode object.Ī client has recently asked me to automatically display an attached data-tip to the last data point of a plotted time series of values. They enable users to interactively click on a plot location and see a tool-tip that contains the clicked location’s coordinates. Plot data tips are a great visualization aid for Matlab plots.
