[R] Error in plot.new() : figure margins too large

2007-05-09 Thread gatemaze
Yes, I already had a look on previous posts but nothing is really helpful to me. The code is: postscript(filename, horizontal=FALSE, onefile=FALSE, paper=special, bg=white, family=ComputerModern, pointsize=10); par(mar=c(5, 4, 0, 0) + 0.1); plot(x.nor, y.nor, xlim=c(3,6), ylim=c(20,90),

Re: [R] Error in plot.new() : figure margins too large

2007-05-09 Thread Prof Brian Ripley
On Wed, 9 May 2007, [EMAIL PROTECTED] wrote: Yes, I already had a look on previous posts but nothing is really helpful to me. I have never seen anyone do this before The code is: postscript(filename, horizontal=FALSE, onefile=FALSE, paper=special, You have not set a width or height,

Re: [R] Error in plot.new() : figure margins too large

2007-05-09 Thread gatemaze
On 09/05/07, Prof Brian Ripley [EMAIL PROTECTED] wrote: On Wed, 9 May 2007, [EMAIL PROTECTED] wrote: The code is: postscript(filename, horizontal=FALSE, onefile=FALSE, paper=special, You have not set a width or height, so please do your homework. Thanks a lot for that and to Phil for

[R] Error in plot.new() : Figure margins too large

2007-01-11 Thread Antje
Hello, was could be the reason for such an error message??? I'd like to create a window with 10x6 barplot and save it as pdf. I tried: pdf(histogram.pdf,width=7, height=7) windows(cols, rows) par(mfcol = c(rows,cols)) sapply(mat, calcHist) dev.off() Within the method of sapply, I call

Re: [R] Error in plot.new() : Figure margins too large

2007-01-11 Thread Peter Dalgaard
Antje wrote: Hello, was could be the reason for such an error message??? Generically, that the (per-subplot) figure region is so small that subtracting margins leaves nowhere to plot. Reasons include: Plotting area too small, too many subplots, too many lines of text in margins, too large

Re: [R] Error in plot.new() : Figure margins too large

2007-01-11 Thread Antje
Hmm, but what can be the solution? Any idea? Or any documentation on that which I could read to find a solution by myself? with the windows statement, I wanted to achive a format which fits for my plots, so that each plot will have a quadratic area. I guess, I did not unstand that much of

Re: [R] Error in plot.new() : Figure margins too large

2007-01-11 Thread Peter Dalgaard
Antje wrote: Hmm, but what can be the solution? Any idea? Or any documentation on that which I could read to find a solution by myself? with the windows statement, I wanted to achive a format which fits for my plots, so that each plot will have a quadratic area. OK, so what was the