On 07/03/2008, Charilaos Skiadas <[EMAIL PROTECTED]> wrote: > On Mar 7, 2008, at 8:02 AM, Rainer M Krug wrote: > > > On 07/03/2008, Charilaos Skiadas <[EMAIL PROTECTED]> wrote: > >> On Mar 7, 2008, at 7:18 AM, Rainer M Krug wrote: > >> > >>> Hi > >>> > >>> I created a complex layout with using layout() and it looks > >>> exactly as > >>> I need it. But I don't want to print in the order in which the > >>> subfigure are numbered, but in a different order. > >>> > >>> How can I navigate in the layout so that I can specify the subfigure > >>> in which to plot? > >>> > >>> At the moment I am using a function which is converting the > >>> number to > >>> mfg parameter for par, but it does not seem to work as expected. > >>> > >>> Thanks, > >>> > >>> Rainer > >>> > >> > >> > >> Look at documentation of ?layout. The "mat" argument determines the > >> order in which the figures appear. The example code that talks about > >> scatterplot with marginal histograms should show you how that works. > >> > >> In other words, to the best of my knowledge, you specify in the call > >> to layout in which order the new figures you create will be filling > >> the layout. > > > > Yes - I know that I can define the order when I call layout(mat=..., > > ...), but is there any way that I can skip one when plotting and > > return to plot that one later? (e.g. plot subfigure 1, then 3 and > > finally 2) > > > Only if you number them in the right order. You might have better > luck using split.screen, and the associated "screen" command, for > what you are trying to do. > > I'm not sure I understand it, why don't you want to just number the > subfigures in the order in which you will draw them?
Because i thought it would be easier the other way round? Thanks anyway Rainer > > > >> > >> > >>> > >>> -- > >>> Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology > >>> (UCT) > >>> > >>> Plant Conservation Unit Department of Botany > >>> University of Cape Town > >>> Rondebosch 7701 > >>> South Africa > >> > >> > >> Haris Skiadas > >> Department of Mathematics and Computer Science > >> Hanover College > >> > > > > -- > > Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) > > > > Plant Conservation Unit Department of Botany > > University of Cape Town > > Rondebosch 7701 > > South Africa > > Haris Skiadas > Department of Mathematics and Computer Science > Hanover College > > > > > -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Plant Conservation Unit Department of Botany University of Cape Town Rondebosch 7701 South Africa ______________________________________________ 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.