[R] Position of Chart in Windows

peter dalgaard pdalgd at gmail.com
Mon Oct 24 11:30:20 CEST 2011


On Oct 24, 2011, at 11:15 , Jurgens de Bruin wrote:

> Hi,
> 
> IS is possible to align a chart to the left of the plot area as to make
> space for a legend?

Various possibilities, depending on what you mean precisely:

You can create a larger right hand margin. See the mar= argument under help(par).

You can do split-screen with layout()

You can adjust the x axis by setting xlim= .

> 
> -- 
> Regards/Groete/Mit freundlichen Grüßen/recuerdos/meilleures salutations/
> distinti saluti/siong/duì yú/привет
> 
> Jurgens de Bruin
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list