File:R-US state areas-1D log+extras.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
![File:R-US state areas-1D log+extras.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/R-US_state_areas-1D_log%2Bextras.svg/450px-R-US_state_areas-1D_log%2Bextras.svg.png?20090306225339)
Size of this PNG preview of this SVG file: 450 × 135 pixels. Other resolutions: 320 × 96 pixels | 640 × 192 pixels | 1,024 × 307 pixels | 1,280 × 384 pixels | 2,560 × 768 pixels.
Original file (SVG file, nominally 450 × 135 pixels, file size: 97 KB)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
DescriptionR-US state areas-1D log+extras.svg |
English: 1D horizontal scatter plot (aka "dot plot" or "strip plot") example with continuous data, logged axis and outliers identified by name. Data = US state areas |
|||
Date | ||||
Source | Own work | |||
Author | HYanWong | |||
Permission (Reusing this file) |
|
using the following commands
svg(file = "R-US_state_areas-1D_log+extras.svg", width = 5, height = 1.5, pointsize = 8) #1D horizontal scatter plot (aka "dot plot" or "strip plot") example with continuous data, logged axis and outliers identified by name. Data = US state areas par(mar=c(3,4,4,1)+0.1) X <- log10(state.area*2.58998811) stripchart(X, pch=1, xaxt="n", xlab=expression(paste(italic("landArea")," (square km)")), mgp=c(2,0.5,0)) axis(1,log10(1:9*rep(10^(3:7), each=9)), rep("", 45)) axis(1,log10(10^(3:6)), expression(10^3, 10^4, 10^5, 10^6), cex.axis=0.8, mgp=c(2,0.5,0)) abline(v=log10(seq(0, 2e6, 100000)), lty="dotted", col="lightgray") title(main="Size of US states", line=2.5) ###Add outliers outliers <- order(match(X, sort(boxplot.stats(X)$out)), na.last=NA) odd <- c(TRUE, FALSE) text(X[outliers[odd]], 1, labels=state.name[outliers[odd]], adj=-0.2, cex=0.65, srt=35, xpd=NA, col="grey40") text(X[outliers[!odd]], 1, labels=state.name[outliers[!odd]], adj=1.2, cex=0.65, srt=35, xpd=NA, col="grey40") dev.off()
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 22:53, 6 March 2009 | ![]() | 450 × 135 (97 KB) | HYanWong (talk | contribs) | {{Information |Description={{en|1=1D horizontal scatter plot (aka "dot plot" or "strip plot") example with continuous data, logged axis and outliers identified by name. Data {{=}} US state areas }} |Source=Own work by uploader |Author=[[User:HYanWong|HYa |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikibooks.org
Hidden categories: