How can I use apostrophe as a text in legend?
Show older comments
I want to insert apostrophe in legend for example, "Jane's weight" but MATLAB handles ' as a command.
I tried to use '' but it doesn't work....
1 Comment
Ayub Ali
on 7 Dec 2017
If you try disp((sprintf("Jane's weight"))
it should work mate
Accepted Answer
More Answers (0)
Categories
Find more on Legend 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!