Hi Milan, thanks for the response, I guess grid.arrange does't really serve
the purpose I want(or maybe my grid using level just limits the usage..),
like mentioned by Baptiste.

On Sun, Jan 15, 2012 at 5:13 PM, baptiste auguie <
baptiste.aug...@googlemail.com> wrote:

> ggExtra was not compatible with the recent changes in ggplot2 and had
> become partially redundant, so I removed it.
>
> grid.arrange and arrangeGrob in gridExtra won't help with the
> alignment of axes. align.plots, which I can always send you offlist if
> you want, extracted the size of axes and legends from the plots and
> adjusted a grid layout accordingly; it was basically a hack.
>
> Hi Baptiste,

I really appreciate the awesome work you have done for add-ons of ggplot2 ~
and yes, that would be very helpful if you could send me the align.plots()
function offlist, even though I am not sure if it can handle complicated
case, like when the top plot is faceted with strip labeling and the bottom
plot is not. But I guess it should solve lots of cases I have here. or I
could look into your code and try to do some extra hack. (might ask for
help from you later :))

Kohske has been doing some good progress in properly aligning ggplot2
> graphics, you could try his development branch @github (but I
> understand it's at an experimental stage)
> https://github.com/kohske/ggplot2


Could you please point me to some specific function in git for aligning
ggplot2 graphics? thanks a lot.


>
> baptiste
>
>
>
> On 16 January 2012 11:21, Milan Bouchet-Valat <nalimi...@club.fr> wrote:
> > Le dimanche 15 janvier 2012 à 15:43 -0600, Tengfei Yin a écrit :
> >> Hi dear all,
> >>
> >> I cannot find ggExtra source code or install it by
> >>
> >> install.packages("ggExtra", repos="http://R-Forge.R-project.org";)
> > This package has been removed, it's been marked as deprecated by its
> > author:
> >
> http://groups.google.com/group/ggplot2-dev/browse_thread/thread/e1d2a0faa03b7991
> >
> >> I am really interested in one of the functions inside called
> "align.plots",
> >> but cannot find the package on-line.
> >>
> >> Do I miss something? or is there any function similar to that I can
> easily
> >> align multiple plots on the same x-axis on one page. which only align
> >> panels. grid.arrange in gridExtra is an easy way to arrange multiple
> plots,
> >> but it's kind of not what exactly I want,  there is a discussion of it
> on
> >> stackoverflow.
> >>
> http://stackoverflow.com/questions/5489250/specifying-ggplot2-panel-width
> >>
> >> see the plots in the anwser, with unequal y label, align.plots still
> align
> >> the plots well on the x.  In my real world example, it's not the case
> that
> >> I can make it a simple facet, it's always alignment of multiple tracks.
> And
> >> I don't really want to write my own hack function(and don't know how
> yet)
> >> to do that, if there is already a nice function for the same purpose~
> > Maybe the arrangeGrob() function from gridExtra?
> > http://code.google.com/p/gridextra/wiki/arrangeGrob
> >
> >
> > Regards
> >
> > ______________________________________________
> > 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.
>



-- 
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
Homepage: www.tengfei.name

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to