Dear all,

I've just started using matplotlib for some data processing and
plotting and have ported one of my existing Matlab scripts to python.
However, I have been unable to get the following working properly in
python.  In Matlab, this works:

xlabel('Normalised \psi''''_x', 'Interpreter', 'tex')

(The 'Interpreter', 'tex' bit is unnecessary if
'DefaultTextInterpreter' is set to 'tex')

However, the translation into matplotlib doesn't work:

xlabel(r"$\rm{Normalised}\ \psi''_x$")

I've also tried some other variations such as:

xlabel(r'$\rm{Normalised}\ \psi\'\'_x$') or
xlabel(r'$\rm{Normalised}\ \psi_x\'\'$') etc

The single quotes do not appear in the label.  Is this just a
limitation of matplotlib, or is there some way to work around it?

Many thanks in advance,

Al

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to