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: Thu, 09 Apr 2009 14:59:32 +0200

Well, neither "sans" or "serif" works, but "mono" works. So, all my
problems disapeared. Thanks a lot for your help.
Best. Isabel
Le jeudi 09 avril 2009 à 13:23 +0200, Gábor Csárdi a écrit :
> Yes, you can change it in igraph, e.g. take a look at the code I have
> sent in the previous mail and possibly also see ?igraph.plotting.
> 
> Use family="sans" or family="serif", the one that works for you.
> "sans" is the red text, "serif" is the black in the example. Or none
> of them works?
> 
> Gabor
> 
> On Thu, Apr 9, 2009 at 1:16 PM, isabel brito <address@hidden> wrote:
> > you're right! Sorry but I dont know how to have the fonts ? Or maybe is
> > it possible to change this parameter in igraph ?
> >
> > Thanks,
> >
> > Best. Isabel
> > Le mercredi 08 avril 2009 à 17:44 +0200, Gábor Csárdi a écrit :
> >> Hmmm, maybe you don't have the fonts. Could you try the following?
> >>
> >> plot(1:10, pch=".")
> >> text(1:10, 1:10, 1:10, family="serif")
> >> text(1:10, 10:1, 1:10, family="sans", col="red")
> >>
> >> G.
> >>
> >> On Wed, Apr 8, 2009 at 3:37 PM, isabel brito <address@hidden> wrote:
> >> > Thank you for your anwser.
> >> >
> >> > Unfortunately, the graphs remain as previously.
> >> >
> >> > Best, Isabel
> >> >
> >> >
> >> >
> >> > Le mercredi 08 avril 2009 à 15:10 +0200, Gábor Csárdi a écrit :
> >> >> Thanks. Please try to set a different locale, e.g. start R with
> >> >>
> >> >> LC_ALL=en_US.UTF-8 R
> >> >>
> >> >> or
> >> >>
> >> >> LC_ALL=fr_FR.UTF-8 R
> >> >>
> >> >> and then see whether it works.
> >> >>
> >> >> Also, for a quick test, please (in your current locale) try doing
> >> >>
> >> >> plot(graph.ring(10), vertex.label=1:10)
> >> >>
> >> >> and
> >> >>
> >> >> plot(graph.ring(10), vertex.label=as.character(1:10))
> >> >>
> >> >> and tell me whether these work or not. Thanks, G.
> >> >>
> >> >> On Wed, Apr 8, 2009 at 2:41 PM, isabel brito <address@hidden> wrote:
> >> >> >
> >> >> > 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
> >> >> >
> >> >> [...]
> >> >>
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > 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
> >
> 
> 
> 





reply via email to

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