×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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...

RE: How to put a dot over a character in matlab plot?

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.

RE: How to put a dot over a character in matlab plot?

(OP)
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

RE: How to put a dot over a character in matlab plot?

(OP)
xnuke, Thanks..its working..Problem with my installation.
nodal

RE: How to put a dot over a character in matlab plot?

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

RE: How to put a dot over a character in matlab plot?

(OP)
Check that the interpreter is set to LaTex for each of the plot titles. BTW are you using it to title some axes?

RE: How to put a dot over a character in matlab plot?

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources