vqv / ggbiplot

A biplot based on ggplot2
302 stars 158 forks source link

Unnecessary Whitespace around the plot #7

Open therimalaya opened 9 years ago

therimalaya commented 9 years ago

I am using the ggbiplot function while writing my thesis. I am having a lot of trouble with the unnecessary whitespace around the plot. sometime it is good, but not always. I tried using plot.margin on theme, but it did not worked. Is there any way, you can put some option on the plot, or can you guide me to remove the whitespace. All the other feature are very fine.

Alyetama commented 3 years ago

I know this is very old, but just in case someone else has the same question, you can do the following:

ggsave(my_img.png)
knitr::plot_crop(my_img.png)