How can I create a ylabel with an hbar (i.e. h/2pi)?

10 views (last 30 days)
I have tried the following: ylabel('hbar\omega (meV)'); ylabel('\hbar\omega (meV)') and ylabel('\hbar\omega (meV)', 'Interpreter', 'latex')

Accepted Answer

Star Strider
Star Strider on 15 Apr 2018
You left out the beginning and ending $'s.
Try this:
ylabel('$\hbar\omega (meV)$', 'Interpreter', 'latex')
  1 Comment
Jan
Jan on 16 Apr 2018
+1. Again I did not see your answer before posting, and even not after I had posted my (identical) answer. See Answers: Delay in the forum.

Sign in to comment.

More Answers (0)

Categories

Find more on Quantum Mechanics 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!