From: us on 27 May 2010 17:30 "Steven Lord" > When you type the following, what do you see for the Interpreter property? > h = xlabel('\pi'); > get(h) > If it's not the string 'tex' then change it. minute add-on: get(h) % should have read get(h,'interpreter') us
From: Camil Hamel on 28 May 2010 14:44 "Steven Lord" <slord(a)mathworks.com> wrote in message <htmnqq$l9u$1(a)fred.mathworks.com>... > > "Salvatore " <vitale(a)lptl.jussieu.fr> wrote in message > news:htmdft$l2$1(a)fred.mathworks.com... > > Sorry, I dropped out a part of my post. > > > > So, I've the same problem on Matlab 2009b running on a 64 bit Fedora pc. > > If I use commands like > > > > xlabel('\pi') > > > > in the plot I see a little p, and not the greek letter. > > I've googled a lot, without any solutions. > > Are there idea? > > When you type the following, what do you see for the Interpreter property? > > h = xlabel('\pi'); > get(h) > > If it's not the string 'tex' then change it. > > set(h, 'Interpreter', 'tex') > > If that allows the xlabel to be rendered as the pi symbol, you need to > determine where you've changed the default setting (at the axes, figure, or > root level.) > > http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f7-21465.html > > -- > Steve Lord > slord(a)mathworks.com > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ > To contact Technical Support use the Contact Us link on > http://www.mathworks.com > I have the same problem using Fedora. I checked what you said about the interpreter setting. It was 'tex'. Still doen't work.
From: Salvatore on 28 May 2010 16:39
"us " <us(a)neurol.unizh.ch> wrote in message <htmo9e$k9b$1(a)fred.mathworks.com>... > "Steven Lord" > > When you type the following, what do you see for the Interpreter property? > > h = xlabel('\pi'); > > get(h) > > If it's not the string 'tex' then change it. > > minute add-on: > > get(h) > % should have read > get(h,'interpreter') > > us Hi thanks all for the replies. I get tex as interpreter. |