Basic R plots (plot(x=..., y=...)
) appear to print to portrait-oriented, letter-sized paper. How can I change this to landscape-oriented?
Use different orientations in the same document Select the pages or paragraphs whose orientation you want to change. Click PAGE LAYOUT > Page Setup dialog box launcher. In the Page Setup box, under Orientation, click Portrait or Landscape. Click the Apply to box, and click Selected text.
1. When referring to graphics or printing, landscape mode is a horizontal orientation of a document or image. Landscape mode is commonly used to print charts, wider images, and text that may not fit properly if the page is oriented in portrait mode (vertically).
Page orientation is the way in which a rectangular page is oriented for normal viewing. The two most common types of orientation are portrait and landscape.
Description: Portrait orientation is the one in which the longer sides of the rectangle are vertical. It's named this way because this is generally the orientation that people choose when taking a portrait, or a photograph of a person.
You can change this when you open the graphic device. For example, for X11
:
X11(width=4,height=3)
For postscript()
and pdf()
you can change the paper size by specifying the paper
argument: set it to "a4r"
and "USr"
for rotated (landscape).
Other graphic devices have similar mechanisms. See the online help for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With