filled.contour (PR#357)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
03 Dec 1999 17:58:16 +0100


steuer@statistik.uni-dortmund.de writes:

> filled.contour does not work on my machine in versions 0.90.0 and 0.99.0
> I always get: Error in plot.new() : Figure margins too large
> 
> Here an example from help(filled.contour): ( same message for 0.99.0)

0.99.0 *unreleased* you mean (snapshot). Actually this lags 0.90.0
Patched (the release branch snapshot) at the moment, since the
bugfixes have not been merged into the development version. 

Your problem is due to this line in the filled.contour function

layout(matrix(c(2, 1), nc = 2), widths = c(1, lcm(3)))

Works better if you set it to lcm(4). We'll be changing the default
font sizes in the next patch release due to common demand, so this may
go away all by itself, but it is a bit nasty to have a fixed width
in there. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._