- Matlab seems to have trouble with "\r"?
- "10" positions the text outside the default axes.

# Getting error code "unable to interpret LaTeX string..."

3 views (last 30 days)

Show older comments

and am not sure why. I'm trying to add formulas to a graph as fractions using this code:

text(10,.2,'Ea=$\displaystyle\frac{-1.436}{\r}$','interpreter','LaTeX')

##### 0 Comments

### Accepted Answer

per isakson
on 5 Feb 2014

Edited: per isakson
on 2 Mar 2014

This produces a result

text(.2,.2,'Ea=$\displaystyle\frac{-1.436}{17}$','interpreter','LaTeX')

With your example

### More Answers (0)

### See Also

### Categories

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!