igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] latin characters on nodes


From: isabel brito
Subject: Re: [igraph] latin characters on nodes
Date: Wed, 08 Apr 2009 14:41:36 +0200

For instance the code
g<-       graph.formula( A--B, C--D, E--F, G--H, I, J, K )

draws (attached)
    graphX11.png    on X11 device 
and 
    graphpdf.pdf    on pdf device

The output of the sessionInfo() command is 

    
> sessionInfo()
R version 2.7.0 (2008-04-22) 
x86_64-redhat-linux-gnu 

locale:
LC_CTYPE=fr_FR.UTF-8;LC_NUMERIC=C;LC_TIME=fr_FR.UTF-8;LC_COLLATE=fr_FR.UTF-8;LC_MONETARY=C;LC_MESSAGES=fr_FR.UTF-8;LC_PAPER=fr_FR.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=fr_FR.UTF-8;LC_IDENTIFICATION=C

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets
methods  
[8] base     

other attached packages:
 [1] igraph_0.5.1    cluster_1.11.10 e1071_1.5-18    class_7.2-45   
 [5] CMA_1.0.0       Biobase_2.0.1   pgirmess_1.3.7  spatstat_1.15-0
 [9] deldir_0.0-7    gpclib_1.4-2    mgcv_1.3-30    
>

Best, 

Isabel
Le mercredi 08 avril 2009 à 13:16 +0200, Gábor Csárdi a écrit :
> You will need to send us some code that reproduces this problem, plus
> the output of the sessionInfo() command.
> 
> Actually both Tamas and me thought that you wanted to make plots with
> non-latin characters, but no it seems that it is the opposite.....
> 
> G.
> 
> On Wed, Apr 8, 2009 at 12:48 PM, isabel brito <address@hidden> wrote:
> > Hello,
> >
> > I'sorry for posting again, but indeed I didn't solve the problem.
> > So when I use a X11 device chinese-like characters appear.
> > When I use a pdf device numbers (starting from zero) appear. But I can't
> > change these numbers.
> >
> >
> >  indeed I can't change characters on modes
> > Le mercredi 08 avril 2009 à 11:23 +0200, isabel brito a écrit :
> >> Thank you for your answer.
> >>
> >> plot(1:10, 1:10, xlab="write something non-latin here")
> >>
> >> works well.
> >>
> >> But the problem arrives only when I use a X11 device.
> >> If I use a pdf device  latin-characters are written.
> >> And this is ok for me.
> >>
> >> Best regards,
> >>
> >> Isabel Brito
> >>
> >> Le mercredi 08 avril 2009 à 10:44 +0200, Gábor Csárdi a écrit :
> >> > The answer depends on many things, e.g. the graphics device you are
> >> > using, your operating system, your R version, your locale. I think R
> >> > has quite good support for UTF8. But I am not an expert on this.
> >> >
> >> > Are you able to do this with non-igraph plots? E.g.
> >> > plot(1:10, 1:10, xlab="write something non-latin here")
> >> > works well?
> >> >
> >> > If not, then please post the question to the r-help mailing list, as
> >> > it is not an igraph problem, but a more general R problem. Or rather
> >> > question. You have a much better chance to get and answer there.Please
> >> > make sure that you provide the information I mentioned above when you
> >> > post to the R-help mailing list.
> >> >
> >> > Best,
> >> > Gabor
> >> >
> >> > On Wed, Apr 8, 2009 at 9:48 AM, Tamas Nepusz <address@hidden> wrote:
> >> > > Hi,
> >> > >
> >> > >> I'm using R.
> >> > >
> >> > > Please stay on the mailing list. I'm not that familiar with R, but I
> >> > > remember I've seen a publication where the figures were created with 
> >> > > igraph
> >> > > and some of the nodes included non-Latin (Japanese? Chinese?) 
> >> > > characters, so
> >> > > it can be done somehow. Maybe Gabor can answer this question better.
> >> > >
> >> > > --
> >> > > Tamas
> >> > >
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > igraph-help mailing list
> >> > > address@hidden
> >> > > http://lists.nongnu.org/mailman/listinfo/igraph-help
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> _______________________________________________
> >> igraph-help mailing list
> >> address@hidden
> >> http://lists.nongnu.org/mailman/listinfo/igraph-help
> >>
> >
> >
> >
> > _______________________________________________
> > igraph-help mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/igraph-help
> >
> 
> 
> 

Attachment: graphX11.png
Description: PNG image

Attachment: graphpdf.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]