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 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 > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users