Skip to content

Plotting problems - where's the text?

4 messages · Nicholas R Frazier, Duncan Murdoch, Simon Urbanek

#
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
#
On Jun 25, 2010, at 12:26 PM, Nicholas R Frazier wrote:

            
Please check your fonts (Applications -> Font Book) and make sure Arial and Helvetica are not disabled or corrupted (those are the defaults - if you changed your font settings in R check the corresponding fonts).

Cheers,
Simon
1 day later