Data Cursor tool shows value close (but not equal) to actually plotted value, not a rounding issue
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a series of subplots each of which plots blue data points (representing values of 1D vectors) at corresponding x locations (y location is always 0):
I used the Data Cursor tool to see the exact value of data points placed one above the other (with close but not exactly equal x positioning), and was surprised to see that the Data Cursor shows the same value for both data points, even though that value is NOT among the values plotted for either of the subplots (it is close to those values, but not the same, such as 5965 vs 5924).
I've double checked to make sure I was comparing the right things (I was). The order of magnitude of the plotted data is integers up to a few hundred thousands, so there should be clipping/rounding effects explaining this strange behaviour!?
Thanks for any inputs!
2 commentaires
Jan
le 5 Jan 2017
Can you post some code, which reprocuds your observations? Currently all we have is a pixel image and your description, but the problem must be hidden somewhere else.
Réponses (0)
Voir également
Catégories
En savoir plus sur Subplots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!