![]() You can also change the width and height (in inches) of the output plot, the paper and point size, or modify the background color, as the PDF plot will have a transparent background, or the color model, among other graphical parameters. However, if you need to edit the image after saving in order to add some decoration or perform some modifications you should use SVG.įirst, in order to save a plot as PDF in R you will need to open the graphics device with the pdf function, create the plot you desire and finally, close the opened device with the dev.off function. ![]() The PDF format for saving images is the most used for creating scientific documents, as they are easy to add to LaTeX and maintain the resolution even if you zoom in. ![]() Save plot in R as PDF, SVG or postscript (PS)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |