Re: [R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Charles Novaes de Santana
Just open this issue: https://github.com/igraph/rigraph/issues/69 Thanks again for your suggestion! Best, Charles On Sat, Apr 18, 2015 at 5:28 PM, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Dear Boris, > > Thank you for your message! I had experienced exactly what you desc

Re: [R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Charles Novaes de Santana
Dear Boris, Thank you for your message! I had experienced exactly what you describe in your message. I just didn't write in my previous message in order to avoid a long message :) I will definitely file a bug report to Igraph. Thanks for your suggestion. In the meanwhile, I will try the first wor

Re: [R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Boris Steipe
I can reproduce your problem. It affects both sine-waves if the graph is plotted as the second plot, so it seems that plotting the graph affects all subsequent plots. It affects all plots in subsequent plots to the same window. The window needs to be closed to correct this. I would file a bug re

[R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Charles Novaes de Santana
Dear all, I am trying to plot 4 different plots in the same figure using par(mfrow=...) and igraph::plot.igraph. The code below reproduces more or less what I am doing: library(igraph) g<-erdos.renyi.game(30,0.4) x<-1:100; par(mfrow=c(2,2)) hist(degree(g),main="A"); plot(x,sin(x),type="l",xlab