|
From: Jae-Joon L. <lee...@gm...> - 2010-03-16 12:35:30
|
On Tue, Mar 16, 2010 at 3:30 AM, David <ld...@gm...> wrote: > On 16/03/10 07:59, Gökhan Sever wrote: >> >> Probably you need a unicode font-set that contain all the characters for >> those alphabets. You can look at this example to see a simple unicode >> demonstration example. > > Yes, I have done that, for example: > > ylab = plt.ylabel(u'输入 2') if you use tex for rendering text, see http://matplotlib.sourceforge.net/users/usetex.html#usetex-with-unicode If not, the best option I know of is to set the font name directly, see http://old.nabble.com/Russian-labels-without-LaTeX-td24538302.html Matplotlib does not support fontset, so you can only use glyphs in the font you specified. Regards, -JJ |