This is a file from the Wikimedia Commons

File:Rplotaxisstyle.png

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Rplotaxisstyle.png(480 × 480 pixels, file size: 7 KB, MIME type: image/png)

Description
English: Some options for the display of the axis in R.
Date
Source Own work
Author PAC2
Permission
(Reusing this file)
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

R Source

x1 <- rnorm(100)
png("W:/Bureau/Rplotaxisstyle.png")
par(mfrow = c(2,2))
plot(x1, las = 0, main = "las = 0", sub = "always parallel to the axis", xlab = "", ylab = "")
plot(x1, las = 1, main = "las = 1", sub = "always horizontal", xlab = "", ylab = "") 
plot(x1, las = 2, main = "las = 2", sub = "always perpendicular to the axis", xlab = "", ylab = "")
plot(x1, las = 3, main = "las = 3", sub = "always vertical", xlab = "", ylab = "")
dev.off()

 
This chart was created with R.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19 May 2010

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current11:29, 19 May 2010Thumbnail for version as of 11:29, 19 May 2010480 × 480 (7 KB)PAC2{{Information |Description={{en|1=Some options for the display of the axis in R.}} |Source={{own}} |Author=PAC2 |Date=2010-05-19 |Permission={{PD-self}} |other_versions= }} == R Source == <pre width = 80> x1 <- rnorm(100) png("W:/Bureau/Rp

The following 2 pages use this file: