How to add Geek letters within data cursor text box?

3 Ansichten (letzte 30 Tage)
Alireza Babaei
Alireza Babaei am 20 Apr. 2020
Kommentiert: Tommy am 24 Apr. 2020
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 Kommentare
Alireza Babaei
Alireza Babaei am 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 am 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...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by