Re: [R] How to navigate in layout() created graph?

From: Rainer M Krug <r.m.krug_at_gmail.com>
Date: Fri, 07 Mar 2008 15:02:01 +0200

On 07/03/2008, Charilaos Skiadas <cskiadas_at_gmail.com> 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)

>
>
> >
> > --
> > 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_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.
Received on Fri 07 Mar 2008 - 13:04:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 Mar 2008 - 13:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive