User`s guide

R2008b
17-24
Data Analysis
Specialized Data Tips for the hist Function
When you create a histogram display using hist and place data tips in the plot in data
cursor mode, they now snap to the top center of the bin you attach them to. The data tip
contents have changed as well, and now consist of:
Number of observations falling into the selected bin
The x-value of the bin's center
The lower and upper x-values for the bin
For details, see Using Data Cursors with Histograms in the MATLAB Graphics
documentation.
Compatibility Considerations
Data tips for histograms no longer display the x and y coordinates of their locations and
no longer snap to the four corners of the bins, as they do for bar plots. The data tips are
also larger, to accommodate the extra information.