I want the axis to show x with a symbol like this.

picture

If I don't misunderstand the symbol name is caret. Is there any way to show this x with caret. Help me please.

有帮助吗?

解决方案

Use Matlab's built-in LaTeX interpreter:

xlabel('$\hat x$', 'Interpreter', 'latex')
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top