Skip to content

Error in "color2D.matplot" : "Error in plot.new() : figure margins too large"

3 messages · shahab, John Kane, Jim Lemon

#
Hi,

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.

best,
/Shahab
#
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:

            
#
On 04/03/2011 10:02 PM, shahab wrote:
Hi Shahab,
If you could send me the data you used (real or fake, as long as it 
produces the error), I'll try to work out what has happened.

Jim