On Tue, Mar 16, 2010 at 3:30 AM, David <ld...@gmx.net> 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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to