How to add text descriptions to data points ?
4 views (last 30 days)
Show older comments
Hi guys, i'm facing a problem, which with the command 'text' is not so ideal. Do you know another alternative command for 'text', that more faster ist? Thanks!
2 Comments
Accepted Answer
Jan
on 28 Jan 2019
Edited: Jan
on 28 Jan 2019
text is powerful and fast, if you call it correctly. It is the best function to insert text in axes objects. You will not find a "faster" or "more ideal" function to do this. So my answer is: No, I do not know an alternative. At least not based on the gived details. Maybe you want to share what you want to achieve, which code you use and which limitations you see. If text works slowly in your code, this can be caused by an inefficient way to use it.
By the way, if there are commands similar to a specific command, they are mentined in the "See also" line at the bottom of the documentation. So see:
doc text
and scroll to the bottom.
3 Comments
Alexander Kagermanov
on 15 Aug 2021
Is there any way to combine text objects into one single object, so that it doesn't slow down zooming in/out?
Jan
on 17 Aug 2021
@Alexander Kagermanov: It depends. Do the text objects have the same parent? What does "combine" mean? Do you use multiple text() commands to display several lines of text with a fixed vertical spacing?
Please open a new question and mention the details preferrably in a minimal working example.
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!