[R] challenge in using layout with r bind function

baptiste auguie baptiste.auguie at googlemail.com
Sun Aug 16 19:44:42 CEST 2009


Hi,

Try this,

layout(matrix(c(1,1,2,3), ncol=2, byrow=T))
hist(1:10)
plot.new()# empty space
plot(1:10)

HTH,

baptiste

2009/8/16 RAVI KAPOOR <ravkaps at gmail.com>:
> Hi
>
> Can any one explain how i can divide the graphic window
>
>  into two rows and two columns  -- allocate figure 1 all of row 1 and
> allocate figure 2 the intersection of column 2 and row 2
>
> Actually through above also want to understand the use of rbind() function
> that is used in call to layout()
>
> Thanks in advance for help and time
>
> Regards
> ravi
>
>        [[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.
>



-- 
_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

http://newton.ex.ac.uk/research/emag




More information about the R-help mailing list