Top "Gtable" questions

`gtable` is an R package used to facilitate the layout of graphics based on the grid package.

Left align two graph edges (ggplot)

I'm using ggplot and have two graphs that I want to display on top of each other. I used grid.…

r ggplot2 gridextra gtable
Save plot with a given aspect ratio

I'm working with the really awesome library ggplot2. I figured out how to set the aspect ratio of a plot …

r ggplot2 gtable
How to use facets with a dual y-axis ggplot

I have been trying to extend my scenario from here to make use of facets (specifically facet_grid()). I have …

r ggplot2 gtable
Multiple ggplots of different sizes

It's relatively simple using grid.arrange in the gridExtra package to arrange multiple plots in a matrix, but how can …

r layout ggplot2 gridextra gtable
Center-align legend title and legend keys in ggplot2 for long legend titles

I am having a hard time making the title of a legend center-aligned relative to the legend keys when the …

r ggplot2 r-grid gtable
ggplot theme remove y-axis on two plots in gtable, keep on third plot

I am trying to remove the y-axis on two ggplots that are in a gtable with a third ggplot. I …

r formatting ggplot2 axes gtable
Arrange ggplot plots (grobs with same widths) using gtable to create 2x2 layout

I am attempting to use grobs and gtable to arrange 4 (ggplot2) plots into a 2x2 grid. I don't know how …

r ggplot2 gtable grob
Align ggplot2 plots vertically

With the code found at https://gist.github.com/low-decarie/5886616 A dual dendodogram tile plot can be produced: dual_dendogram_…

r layout plot ggplot2 gtable
how to show a legend on dual y-axis ggplot

I am trying to compose a dual y-axis chart using ggplot. Firstly let me say that I am not looking …

r charts ggplot2 data.table gtable