How to add Geek letters within data cursor text box?

1 view (last 30 days)
Dear all,
Hello
Any body knows how can I add Greek alphabet within a text box of Datacursor? (In an m. file, using back slash (\omega) dsiplays: Greek alphabet omega. But within a text box of Data cursor, it litteraly displays \omega !
Any ideas?
  5 Comments
Alireza Babaei
Alireza Babaei on 23 Apr 2020
Hi Tommy
I think I got your point, I use Matlab R2014a, so apparently this the issue with my verison, and code is correct.
Even when I run the above code (you sent), I have error:
Error using graphics.datacursormanager/get
The name 'Interpreter' is not an accessible property for an instance of class
'datacursormanager'.
Tommy
Tommy on 24 Apr 2020
Ah ok then as far as I can tell, it seems like you won't be able to see the Greek symbols on datatips with your version. I'm not sure if you could use text() instead or maybe some other method of displaying text in figures...

Sign in to comment.

Answers (0)

Categories

Find more on Labels and Annotations 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!