How to write a code to add notifier (text/value) for every point on plot?
Mostrar comentarios más antiguos
In my plot,every y value corresponding to x value represents something for (eg. temperature values). I want these temperature values (like 50 C, 100 C etc. for points on plot) to be added for every point? How do I do that?
Respuestas (2)
Steven Lord
el 26 de En. de 2018
0 votos
You can use the text function to do this, but if you have a lot of points that may lead to overlapping labels and/or a plot that's hard to read. If you just want to be able to ask what temperature is associated with each point, consider using a data cursor with a function you write to customize the text that is displayed on the cursor.
Raju
el 29 de En. de 2018
0 votos
Categorías
Más información sobre Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!