MATLAB: How to insert special symbol into plot label

special_symbol

I'd like to put the above symbol into axis label of the plot but this symbol is not under 'tex' interpreter list. Is there any way to do it?

Best Answer

DSQ = char(hex2dec('211a'));
qval = randn();
mylabel = sprintf('%s factor = %g', DSQ, qval);
xlabel(mylabel)
Note: this will work for interpreter 'none' and for interpreter 'tex' but will not work for interpreter 'latex'