How to create a textbox using annotation, that includes matlab shapes?
Show older comments
Hi,
I am trying to include a textbox in an image, to describe some of my symbols. To do this, I am using the matlab function "annotation", with the string
str={'X','Y','Z'};
What I would like is that, in the textbox, before the X there is a blue square as the usual 's' in Matlab. Similary with a red diamond 'd' for Y, and a green circle for Z.
Is this doable?
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Language Support in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
