How can I use apostrophe as a text in legend?

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

If you try disp((sprintf("Jane's weight"))
it should work mate

Sign in to comment.

 Accepted Answer

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!