Re: dislin titlin and string decode

2007-05-19 Thread Gabriel Genellina
En Sat, 19 May 2007 18:28:51 -0300, luis <[EMAIL PROTECTED]> escribió: > The problem was the value of dislin.chacod. This must be 'ISO1' not > the default ('STANDAR') I used to use DISLIN some time ago, but now I use PyChart most of the time. Its convoluted interfase (mostly due to Fortran supp

Re: dislin titlin and string decode

2007-05-19 Thread luis
On 19 mayo, 12:56, luis <[EMAIL PROTECTED]> wrote: > Hello! > > I have an unespectedn result with dislin titlin > > dislin.metafl ('WMF') > dislin.disini () > > > a="Andrés or Ramón" > dislin.titlin (a.encode("Latin-1"), 1) > # not error raised, is ok > > > dislin.disfin () > > In the out

Re: dislin titlin and string decode

2007-05-19 Thread luis
the code is: #!/usr/bin/env python def try_dislin(): ...import dislin ...dislin.metafl ('WMF') ...dislin.errdev ('FILE') ...dislin.disini () ...dislin.errmod('PROTOCOL','ON') ...dislin.hwfont () ...dislin.pagera () ...dislin.pagfll (255) ...dislin.color('BLACK') ...dislin.axspos (500, 1600) ...d

dislin titlin and string decode

2007-05-19 Thread luis
Hello! I have an unespectedn result with dislin titlin dislin.metafl ('WMF') dislin.disini () a="Andrés or Ramón" dislin.titlin (a.encode("Latin-1"), 1) # not error raised, is ok dislin.disfin () In the output file all is ok but the title is Andr s or Ram n Thanks in advance! --