# sqrt in figure label

582 views (last 30 days)
Baba on 17 Nov 2011
how would i place a square root sign inside a figure axis label? someting like square root of X

Amith Kamath on 17 Nov 2011
you would have to change the interpreter to latex, and then type in {\surd} in the xlabel (or any text) box. All the symbols are latex compatible, which is great, and you can make plots like this:
##### 2 CommentsShowHide 1 older comment
Amith Kamath on 18 Nov 2011
oops! I did a Rick Perry there! :) The latex symbol for square root is \surd and not \sqrt. This should definitely work. Sorry for the slip-up! Try this:
plot([1:1:10])
title('{\itAe}^{-\alpha\itt}sin\beta{\itt} {\surd} \alpha<<\beta')
xlabel('Time \musec.')
ylabel('Amplitude')