Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to put a dot over a character in matlab plot? 1

Status
Not open for further replies.

nodalDOF

Mechanical
Oct 3, 2005
100
US
Is it possible to put a dot over a character in Matlab plot using any interpreter(Tex/LaTeX) that matlab provides?
I know subscipt/superscript notation but just faced this problem of dot.

nodal...
 
Replies continue below

Recommended for you

You need to change the text interpreter setting to LaTex. Right click on the text box, select Properties, then change the interpreter from the default Tex to LaTex. Use math mode, e.g., $\dot{a}$, to get the results you want.

xnuke
"Do you think you used enough dynamite there, Butch?"
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
xnuke, Thank you for reply. I tried this but my LaTex interpreter didn't work. I am not sure whether is am doing it right. I have a plot with volume flow rate labeled as(Qdot) on Y-axis. So as per your reply i have edited the lable as $\dot{Q}$ and in the property editon i changed the interpretor to LaTex. I see nothing on the lable, and also i got error suing something like "unabel to interpret...". Am is doing something wrong?

nodalDOF
 
xnuke, Thanks..its working..Problem with my installation.
nodal
 
I am having a similar problem with the dot issue. My latex interpreter is on accoding to the figure GUI, but I can't get the dot. I can get subscripts and Greek letters though. What was wrong with your installation? Maybe I have the same problem.

Michel
 
Check that the interpreter is set to LaTex for each of the plot titles. BTW are you using it to title some axes?
 
The interpreter is set to LaTex in the figure GUI,
edit>axes properties> edit properties for: axes> title>edit..>latex interpreter is checked.

Here is a clue in command mode

this works:
ylabel( title_string, 'interpreter', 'tex');

this doesn't work:
ylabel( title_string, 'interpreter', 'latex')


I am using it to title axes.

Thanks
Michel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top