An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120115/351268d1/attachment.pl>
ggExtra package installation fails
4 messages · Tengfei Yin, Milan Bouchet-Valat, Baptiste Auguie
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
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. 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 baptiste
On 16 January 2012 11:21, Milan Bouchet-Valat <nalimilan at 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 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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120115/2f8b426b/attachment.pl>