Character for the real numbers - MATLAB

50 views (last 30 days)
Hello everyone,
This maybe is a simple question but I would just like to print the character for the real numbers on a plot.
I read http://www.mathworks.nl/help/matlab/ref/text_props.html but I can only find greek numbers, integrals and arrows.
Can anyone help met with this?
Thanks in advance!

Accepted Answer

Niklas Nylén
Niklas Nylén on 25 Mar 2014
Edited: Niklas Nylén on 25 Mar 2014
\Re
------
Based on the comment below that \Re is not the desired character:
It looks like you need to install the mathbb font for the latex interpreter: http://stackoverflow.com/questions/12250919/how-do-you-use-the-latex-blackboard-font-in-matlab
When this is done you should be able to use \mathbb{R} for the hollow R symbol.
  1 Comment
Jonathan
Jonathan on 25 Mar 2014
Edited: Jonathan on 25 Mar 2014
Thanks, I already tried that but I'm looking for this character: http://upload.wikimedia.org/wikipedia/commons/3/39/Latex_real_numbers.svg
-----
Thanks for your answer!

Sign in to comment.

More Answers (0)

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!