How to add Geek letters within data cursor text box?

1 次查看(过去 30 天)
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 个评论
Alireza Babaei
Alireza Babaei 2020-4-23
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 2020-4-24
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...

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by