igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] How to solve the problems "error in PostScript no serif..."


From: Zhijiang Wang
Subject: Re: [igraph] How to solve the problems "error in PostScript no serif..." in using plot.igraph and "[tcl] bad screen distance" in using tkplot?
Date: Sat, 08 Oct 2011 10:42:48 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2

Dear Gabor,

Great thanks for your reply!

I have found the second problem, which is because of  the collumn  name.
After I set coollumn name NULL, it's OK.

see that

layout<-matrix(0,17,3)
layout[,1]<-c(15,47,47,15,48,29,34,19,44,23,12,50,23,40,16,46,13)
layout[,2]<-c(47,48,53,40,41,45,43,45,45,43,32,33,44,45,37,37,36)
layout[,3]<-c(32,32,30,30,30,45,46,26,26,19,35,37,26,26,28,29,27)
row.names(layout)<-as.character(seq(1,17))
g<-graph.ring(17)
g$layout<-layout
plot(g)
tkplot(g)

OK!

However, if I add "colnames(layout)<-c("V1","V2","V3")
  g$layout<-layout"

tkplot(g) cannot work. [tcl] bad screen distance "-V1".




于 2011-10-7 23:43, Gábor Csárdi 写道:
Hi Zhijiang,

for the first question, please see
https://lists.nongnu.org/archive/html/igraph-help/2007-07/msg00010.html

For the second, please send some code that reproduces it, it has many
possible reasons.

Best,
Gabor

2011/10/6 Zhijiang Wang <address@hidden>:
Dear all,

Who knows how to solve the problems "error in PostScript no serif..." in
using plot.igraph and "[tcl] bad screen distance" in using tkplot?
--

Best wishes,

Zhijiang Wang

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help






--
Best wishes,
Zhijiang Wang

reply via email to

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