in [Matlab]

Prev: How to convert between convolution and corrleation? And more on FFT. Thanks a lot.
Next: Read 12bit DICOM images
From: Luca Zanotti Fragonara on 22 Jul 2010 09:31 Hello, I am trying to show in the xlabel of a graph the symbol of derivative over a greek letter, and I receive the error described in the subject. Here it is my code: xlabel('\textbf\dot{\theta}','interpreter','latex') or xlabel('\bf\dot{\theta}','interpreter','latex') They don't work. Is there a problem with the \dot command? And I was also wondering, does latex interpreter has trouble with a string as following: xlabel('\textbf\fontsize{', num2str(Char_Size) ,'}\dot{\theta}','interpreter','latex') In the case I want to modify the fontsize of the string of xlabel?
From: Doug Schwarz on 22 Jul 2010 12:12 On 7/22/2010 9:31 AM, Luca Zanotti Fragonara wrote: > Hello, > > I am trying to show in the xlabel of a graph the symbol of derivative > over a greek letter, and I receive the error described in the subject. > Here it is my code: > > xlabel('\textbf\dot{\theta}','interpreter','latex') > > or > > xlabel('\bf\dot{\theta}','interpreter','latex') > > They don't work. > > Is there a problem with the \dot command? You need to use math mode ($$). Also, I don't think a bold version of \theta exists so I would do this: xlabel('$$\dot{\theta}$$','interpreter','latex') > And I was also wondering, does latex interpreter has trouble with a > string as following: > > xlabel('\textbf\fontsize{', num2str(Char_Size) > ,'}\dot{\theta}','interpreter','latex') > > In the case I want to modify the fontsize of the string of xlabel? xlabel('$$\dot{\theta}$$','interpreter','latex','fontsize',20) -- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address.
From: Luca Zanotti Fragonara on 22 Jul 2010 13:22
Doug Schwarz <see (a)sig.for.address.edu> wrote in message <N5_1o.26769$cO.16231(a)newsfe09.iad>...> On 7/22/2010 9:31 AM, Luca Zanotti Fragonara wrote: > > Hello, > > > > I am trying to show in the xlabel of a graph the symbol of derivative > > over a greek letter, and I receive the error described in the subject. > > Here it is my code: > > > > xlabel('\textbf\dot{\theta}','interpreter','latex') > > > > or > > > > xlabel('\bf\dot{\theta}','interpreter','latex') > > > > They don't work. > > > > Is there a problem with the \dot command? > > You need to use math mode ($$). Also, I don't think a bold version of > \theta exists so I would do this: > > xlabel('$$\dot{\theta}$$','interpreter','latex') > > > > And I was also wondering, does latex interpreter has trouble with a > > string as following: > > > > xlabel('\textbf\fontsize{', num2str(Char_Size) > > ,'}\dot{\theta}','interpreter','latex') > > > > In the case I want to modify the fontsize of the string of xlabel? > > xlabel('$$\dot{\theta}$$','interpreter','latex','fontsize',20) > > > -- > Doug Schwarz > dmschwarz&ieee,org > Make obvious changes to get real email address. Thank you very much Doug. |