Hello,
I have tendency to use unicode strings for my simple units e.g. plt.xlabel(u"Concentration (# cm⁻³)")
Wondering if it is possible to subscript and/or superscript any character in unicode strings? In other words could the following be done via unicode only?
plt.title(r"N$_{ccn} = C s^k$")
Thanks.
Gökhan
I believe there's only a handful of characters available as sub/superscript in Unicode:
Mike
Gökhan Sever wrote:
···
Hello,
I have tendency to use unicode strings for my simple units e.g. plt.xlabel(u"Concentration (# cm⁻³)")
Wondering if it is possible to subscript and/or superscript any character in unicode strings? In other words could the following be done via unicode only?
plt.title(r"N$_{ccn} = C s^k$")
Thanks.
Gökhan
------------------------------------------------------------------------
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA