File:Plottype.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Different type of plots in the R plot function.
Date
Source Own work
Author PAC2

R source[edit]

x1 <- rnorm(50)
png("plottype.png")
par(mfrow = c(2,2))
plot(x1, type = "p", main = "points", ylab = "", xlab = "")
plot(x1, type = "l", main = "lines", ylab = "", xlab = "")
plot(x1, type = "b", main = "both", ylab = "", xlab = "")
plot(x1, type = "o", main = "both overplot", ylab = "", xlab = "")
dev.off()

Licensing[edit]

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.
 
This chart was created with R.

File history

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

Date/TimeThumbnailDimensionsUserComment
current10:57, 18 May 2010Thumbnail for version as of 10:57, 18 May 2010480 × 480 (40 KB)PAC2 (talk | contribs){{Information |Description={{en|1=Different type of plots in the R plot function.}} |Source={{own}} |Author=PAC2 |Date=2010-05-18 |Permission= |other_versions= }} ==R source== <pre width = 80> x1 <- rnorm(50) png("plottype.png") par(mfrow =

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: