On Thu, 26-Sep-2013 at 04:47PM +, Hui Du wrote:
|>
|> Hi All,
|>
|> I have a question about plotting graphs. Supposedly, I want to plot
|> 12 graphs. Putting 12 graphs to one window seems too
|> crowded. Ideally, I want to put 4 pictures in one window and plot
|> them in three separate wind
I think that you want:
if (i %% 4 == 1 ) {
dev.new()
par(mfrow=c(2,2))
}
or with the R 3.0.2 it looks like you will be able to do:
if( par('page') ) {
dev.new()
par(mfrow=c(2,2))
}
On Thu, Sep 26, 2013 at 10:47 AM, Hui Du wrote:
>
> Hi All,
>
> I have a question about plotting grap
Hi All,
I have a question about plotting graphs. Supposedly, I want to plot 12 graphs.
Putting 12 graphs to one window seems too crowded. Ideally, I want to put 4
pictures in one window and plot them in three separate window. For exmaple, my
psuedo code is like
par(mfrow = c(2, 2))
for( I i
3 matches
Mail list logo