MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

# Thread Subject: Labels and Latex

 Subject: Labels and Latex From: Francesco Date: 4 Aug, 2007 01:07:44 Message: 1 of 4 Hi everybody, could you pls tell me (if possible) how can I insert a label like "\dot{a_{0}}" in Matlab? If I just put in the label a_{0} it works, but the "dot" (time derivative) does not. Many thanks, Francesco
 Subject: Labels and Latex From: Lorenzo Date: 4 Aug, 2007 01:30:44 Message: 2 of 4 "Francesco " wrote in message ... > Hi everybody, > could you pls tell me (if possible) how can I insert a > label like "\dot{a_{0}}" in Matlab? > If I just put in the label a_{0} it works, but the "dot" > (time derivative) does not. > Many thanks, > > Francesco > > > Set the "interpreter" property of the label to "latex" - the default is "tex", which only accepts a subset of the LaTex commands. hth, Lorenzo
 Subject: Labels and Latex From: Shaun Date: 4 Aug, 2007 03:45:59 Message: 3 of 4 >> text(0.5,0.5,'\dot{v}','interpreter','latex') Warning: Unable to interpret TeX string. Invalid LaTeX string. Oops!! Don't forget the $...$ >> text(0.5,0.5,'$\dot{v}$','interpreter','latex') Shaun
 Subject: Labels and Latex From: Naor Movshovitz Date: 4 Aug, 2007 08:12:48 Message: 4 of 4 While we are on the subject, when i use Latex labels I get a strange behaviour when exporting that figure to eps. The eps file does not have a bounding box property, which makes it harder to use in documents. Anyone know what i'm talking about, or can suggest a solution? Thanks, -naor (R2006a, winxp32pro) "Shaun " wrote in message ... > >> text(0.5,0.5,'\dot{v}','interpreter','latex') > Warning: Unable to interpret TeX string. Invalid LaTeX > string. > > Oops!! Don't forget the $...$ > > >> text(0.5,0.5,'$\dot{v}$','interpreter','latex') > > Shaun