Skip to content
Prev 7288 / 15075 Next

Plotting problems - where's the text?

On 25/06/2010 12:26 PM, Nicholas R Frazier wrote:
That's normally a symptom of setting the margins too small to hold the 
text, or (equivalently) the text too big to fit in the margins.  Take a 
look at par(), in particular see if you've changed the default values


$cex.axis
[1] 1

$mar
[1] 5.1 4.1 4.1 2.1

If you haven't changed those, then it looks like a font problem:  R 
thinks your default font is too big to fit.  The default font is 
determined by the par() setting

$font.axis
[1] 1

as well as defaults specific to your graphics device.  I don't have my 
Mac here, so I can't tell you what the default font is supposed to be on 
your Mac.

Duncan Murdoch