comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to add chinese font in the 'xyouts' procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to add chinese font in the 'xyouts' procedure [message #59394 is a reply to message #59380] Wed, 19 March 2008 08:22 Go to previous messageGo to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
On Mar 19, 12:07 am, wfz...@bjmb.gov.cn wrote:
> Hi,all
> when I create a contour plot, I need to use 'xyouts' procedure to add
> a title for my plot map.
> in the xyouts procedure, I want to use the chinese charactor as the
> value of the 'string' argument.
> but the chinese charactor can't be displayed correctly.
> so anyone can tell my what is wrong?
> very strange, if i input 'print xxx'  in the command line in IDL(XXX
> present chinese charactor), it will be diaplay correct.
>  so I don't understand why in the procedure 'XYOUTS' it can't
>
> by the way, I ever search 'xyouts'  in the forum, someone said can set
> the font as 'MS SONG',but when I command it in the IDL command line,
> the system said there is no such font.
> so May I have to install song font first?
>
> I will appreciate any help from all.

You can set the font to Chinese character first.
!p.font=1
Device,set_font='SimHei',/TT_font
plot or xyouts......
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: QHULL Documentation Request, Re: Particle_Trace question ?
Next Topic: Re: Dimeo genetic algorithm

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 03:07:58 PDT 2025

Total time taken to generate the page: 0.15843 seconds