[R] About plot graphs

David Winsemius dwinsemius at comcast.net
Thu Aug 26 16:49:09 CEST 2010


On Aug 26, 2010, at 10:44 AM, Stephen Liu wrote:

> Hi folks,
>
> Following command prints 2 graphs side-by-side:-
> layout(matrix(1:2, nrow=1))

?layout
#Read the details for the widths and heights arguments more carefully  
and (as it suggests)  see the examples.

> plot(Date,Input_No.)
> plot(Test01$Date, Test01$Input_No.)
>
> However each is a square graph I need a rectangular layout.  Pls  
> advise how to
> make it.  TIA
>
-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list