[R] Error in "color2D.matplot" : "Error in plot.new() : figure margins too large"
jrkrideau at yahoo.ca
Sun Apr 3 14:44:45 CEST 2011
Totally guessing but did you make an earlier call to par() to adjust margins?
Otherwise you may want to supply the matrix here for other people to experiment with. See ?dput as probably the best way to do this.
--- On Sun, 4/3/11, shahab <shahab.mokari at gmail.com> wrote:
> From: shahab <shahab.mokari at gmail.com>
> Subject: [R] Error in "color2D.matplot" : "Error in plot.new() : figure margins too large"
> To: r-help at r-project.org
> Received: Sunday, April 3, 2011, 8:02 AM
> I am using color2D.matplot (...) function of "plotrix"
> package. I used
> a matrix of size around 20*20
> However, apparently it failed to visualize the matrix and
> gave the
> following exception, which I don't have any idea about
> possible source
> of this error.
> "Error in plot.new() : figure margins too large"
> It would be appreciated if someone points me to the right
> origin of this error.
> R-help at r-project.org
> mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
More information about the R-help