From: Assaf Weinstein on 15 Jun 2010 05:17 Hi, I would like greek letters (\theta) to appear a a tick label; I try using XTickLabel, but cant get it to work.. Any ideas? Thank you, Assaf
From: Pekka Kumpulainen on 15 Jun 2010 05:30 "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <hv7gel$kt2$1(a)fred.mathworks.com>... > Hi, > > I would like greek letters (\theta) to appear a a tick label; I try using XTickLabel, but cant get it to work.. Any ideas? > > Thank you, > > Assaf TickLabels are special creatures. All properties of text are not supported. You can download one of many functions in FEX that replace Ticklabels with normal texts.
From: Assaf Weinstein on 15 Jun 2010 06:05 Hi Pekka, Thank you - can you please be more specific?.. I am not sure what FEX is.. Thanks, Assaf "Pekka Kumpulainen" <pekka.nospam.kumpulainen(a)tut.please.fi> wrote in message <hv7h7g$9d0$1(a)fred.mathworks.com>... > "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <hv7gel$kt2$1(a)fred.mathworks.com>... > > Hi, > > > > I would like greek letters (\theta) to appear a a tick label; I try using XTickLabel, but cant get it to work.. Any ideas? > > > > Thank you, > > > > Assaf > > TickLabels are special creatures. All properties of text are not supported. > You can download one of many functions in FEX that replace Ticklabels with normal texts.
From: Wayne King on 15 Jun 2010 06:07 "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <hv7gel$kt2$1(a)fred.mathworks.com>... > Hi, > > I would like greek letters (\theta) to appear a a tick label; I try using XTickLabel, but cant get it to work.. Any ideas? > > Thank you, > > Assaf Hi Assaf, you may be interested in this file from the exchange. http://www.mathworks.de/matlabcentral/fileexchange/15986 You can use text() with the 'Intepreter' set to 'latex'. text(x,y,'$\theta','Interpreter','latex') Wayne
From: Pekka Kumpulainen on 15 Jun 2010 11:30 "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <hv7j8q$f1j$1(a)fred.mathworks.com>... > Hi Pekka, > > Thank you - can you please be more specific?.. I am not sure what FEX is.. > > Thanks, > Assaf > Sorry, FEX is the File Exchange http://www.mathworks.com/matlabcentral/fileexchange/ The function you tried seems to append tests only, you should remove the original ones: set(gca,'XTickLabel','') my_xticklabels, for example does that in the function http://www.mathworks.com/matlabcentral/fileexchange/19059-myxticklabels For example: plot(1:10) hxtl = my_xticklabels([2 7],{{'\alpha';'\beta'} '\gamma'})
|
Next
|
Last
Pages: 1 2 Prev: how to get whole data from simmechanic? Next: generate random points in any shaped polygon? |