R is plotting labels off the page.

Posted by K P on Stack Overflow See other posts from Stack Overflow or by K P
Published on 2010-05-10T23:13:00Z Indexed on 2010/05/10 23:34 UTC
Read the original article Hit count: 259

Filed under:
|

Hi.

i'm running the following:

png(filename="figure.png", width=900, bg="white")
barplot(c(1.1, 0.8, 0.7), horiz=TRUE, border="blue", axes=FALSE, col="darkblue")
axis(2, at=1:3, lab=c("elephant", "hippo", "snorkel"), las=1, cex.axis=1.3)
dev.off()

and the labels on the left are appearing off the page. I can't seem to figure out how to fix it. Any ideas?

Thanks.

© Stack Overflow or respective owner

Related posts about r

    Related posts about plot