View source: R/functions_util.R
plot_flat | R Documentation |
plot to a temporary png and redraw as a flat image
plot_flat( p, dpi = 150, width = dev.size()[1], height = dev.size()[2], panel_only = FALSE )
p |
a ggplot object to render |
dpi |
dots per inch for temp png, default is 150 |
width |
width in inches for temp png, default it 8 |
height |
height in inches for temp png, default is 8 |
useful when svg would be too expensive due to high number of items
a ggplot object containing flat image of original
chiptsne:::plot_flat(ggplot())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.