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. Width = 8, height = 7, # Width and height in inchesĬolormodel = "cmyk" # Color model (cmyk is required for most publications) #Separation studio 4 save as pdf pdf Note that you can convert inches to centimeters dividing by 2.54. If you set the graphic device to a high-resolution ( res = 200), you will need to modify height and width of the corresponding function and the margins of your plot with the par function in order to avoid losing the original formatting and layout.įirst, the png function allows you to save an image to a Portable Network Graphics file. This image file format is known to weight less than JPEG with better quality, as it supports transparent backgrounds. Second, for saving plots in JPEG, you can use the jpeg function, which also allows you to set the quality of the image as percentage with the quality argument (75% by default).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |