Description Usage Arguments Value Examples
View source: R/set_panel_size.r
Set the panel width/height of a ggplot to a fixed value.
1 2 3 |
p |
ggplot2 |
g |
gtable |
file |
optional output filename |
margin |
grid unit |
width |
grid unit, requested panel width |
height |
grid unit, requested panel height |
gtable with fixed panel sizes
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.