Re: [Matplotlib-users] Unicode question

2010-05-10 Thread Michael Droettboom
I believe there's only a handful of characters available as sub/superscript in Unicode: http://www.unicode.org/charts/PDF/U2070.pdf 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

[Matplotlib-users] Unicode question

2010-05-08 Thread Gökhan Sever
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$")