Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a plot and I would like to annotate some mathematical text in it. Initially, Mathematica puts it in italics by using Drawing tools palette, but I want it all in plain text. How can I do it? Thanks for your time.

share|improve this question
Have a look at Epilog, Text[], and possibly Style[]. – J. M. Jul 14 '12 at 13:04
You will find a list of closely related posts near the bottom of my answer to "Create complicated text formulas in graphics" – Jens Jul 16 '12 at 16:17

If you want to use the Drawing tools and annotate by hand, the palette offers standard format options out of the box. Just choose your font, font size etc.:

Mathematica graphics

share|improve this answer
As Verbeia says, that solution will fail if I want to re-evaluate my plot. Thanks. – José Antonio Díaz Navas Oct 12 '12 at 11:14

Yves' answer is perfect if you are never going to re-evaluate your plot, for example because the data have been updated. Annotations drawn with the drawing tools are not part of the plot definition code and so are not included if you re-evaluate it.

It is not 100% clear from your question, but I think you are being stung by the same thing I was: typeset mathematical expressions italicize in ways you might not want.

See if the accepted answer to my earlier question solves your problem.

By default Mathematica typesets mathematical expressions inside a Text expression. It does not italicize standard function names like $\sin$, but it does for single-letter symbols. Notice that I have placed the text using Epilog. It is a good function to get to know, along with Prolog and Inset.

Plot[Sin[x], {x, 0, 4 Pi}, BaseStyle -> {FontSize -> 14}, 
 Epilog -> {Text[Sin[x], {5, 0.5}]}]

enter image description here

If you want to turn off the italicization of $x$, then use the FormatType option as described in Albert's answer to my question linked above.

share|improve this answer
Ok, it seem useful. Thanks. – José Antonio Díaz Navas Oct 12 '12 at 11:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.