[R] x labels out of Quartz canvas

2008-06-16 Thread MeMooMeM
Hi R world, I am such a newbie, with only 4-5 days of R experience. I did a search in forum history but couldn't find a solution to my problem... Sorry if it's obvious: I managed to draw a barplot (yey!) with xlabels of 'long' names (filenames, to be particular). To make them readable, I place

Re: [R] x labels out of Quartz canvas

2008-06-18 Thread MeMooMeM
Dr. Ripley, I appreciate all your help. The graph looks great now. Just in case someone searches for a similar problem: >You need to set the *margins* not the size of the canvas. See par's mai >and mar and the figures in that document. Here's how I do that: par(mar=c(7,7,7,7)) color2D.matplot

Re: [R] x labels out of Quartz canvas

2008-06-16 Thread Prof Brian Ripley
You do this by adjusting the margin sizes. Can I suggest you read 'An Introduction to R', which has a section on the layout of graphics (perhaps the only area in which it is comprehensive). On Mon, 16 Jun 2008, MeMooMeM wrote: Hi R world, I am such a newbie, with only 4-5 days of R experie

Re: [R] x labels out of Quartz canvas

2008-06-17 Thread MeMooMeM
Thanks a lot! I looked at the document. It shows how to set the size of the canvas, but not how to change it *after* plotting. Now I start with a bigger canvas, but the plot is scaled into it, so I am having the same problem again :( I keep on reading tough. Thanks a lot for your help! -Memo

Re: [R] x labels out of Quartz canvas

2008-06-17 Thread Prof Brian Ripley
On Tue, 17 Jun 2008, MeMooMeM wrote: Thanks a lot! I looked at the document. It shows how to set the size of the canvas, I don't believe it does. but not how to change it *after* plotting. Now I start with a bigger canvas, but the plot is scaled into it, so I am having the same problem ag