Create ggsave-latex.R

This function makes it easier the use ggplot figures in a LaTeX environment by creating the required LaTeX and saving the figure in one line of code. The function uses ggsave to write the figure to the disc and print the LaTeX code to the screen.