This is just a basic wrapper around ggplot's ggsave but the default settings make it perfect for fitting into a single column of the ACM/EDM paper format.
1 |
plot |
The plot data |
name |
The desired filename |
width |
The width in inches (defaults to 3, which is recommended width for AcM/EDM format) |
height |
The height in inches (which I default to 2.5) |
dpi |
The dpi to output at (defaults to 300) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.