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 again :(

You need to set the *margins* not the size of the canvas. See par's mai and mar and the figures in that document.

Hint: see the footer of this message -- if you provide a reproducible example and all the info the posting guide asks for you will get more informative answers.


I keep on reading tough. Thanks a lot for your help!

-Memo




Prof Brian Ripley wrote:

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 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 them perpendicular to
the
axis (las=2). When I do that, however, these names don't fit inside the
Quartz window and they are truncated.

Is there a way to change the Quartz window size after plotting (or, as an
alternative, to scale the plot down so it fits in there) ?

Thanks a lot!

-Memo

PS: This is the very first of my zillion of questions!

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to