Text on matlab plot
显示 更早的评论
Hi,
Thanks in advance for your answers. I would like to read integers from a file and i need to put on a matlab plot at a specified locations (by specifying the X and Y coordinates). Basically i know hot to put this text on a plot, but there is a difficulty in putting the integer numbers when it reads inside the loop, i dont know how to dynamically change the integer from a file to the plot. For example, i am using the "text" command, now the difficulty is, inside the text command how to update the integer value dynamically in side a loop?
Thanks
1 个评论
Azzi Abdelmalek
2013-3-22
What does that means: I dont know how to dynamically change the integer from a file to the plot
采纳的回答
更多回答(1 个)
Tj R
2013-3-22
0 个投票
1 个评论
Image Analyst
2013-3-22
编辑:Image Analyst
2013-3-22
You can also use sprintf() to build up a more complicated string. Look into it. By the way, this (your "Answer") is not an Answer to your question. This should have been a comment to Wayne's answer and you should mark his answer as "Accepted'.
类别
在 帮助中心 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!