File:R-US state areas-1D jitter.svg

Original file(SVG file, nominally 450 × 135 pixels, file size: 97 KB)

Description
English: 1D horizontal scatter plot (aka "dot plot" or "strip plot") with continuous data, points jittered and quartiles marked. Data = US state areas
Date
Source Own work
Author HYanWong
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.
 
This W3C-unspecified chart was created with R.

using the following commands

svg(file = "R-US_state_areas-1D_jitter.svg", width = 5, height = 1.5, pointsize = 8)
#1D horizontal scatter plot (aka "dot plot" or "strip plot") with continuous data, points jittered and quartiles marked. Data = US state areas
par(mar=c(4,1,3,1)+0.1)
X <- state.area*2.58998811/1000
set.seed(9) #set random number generator (for same random jitter when replotting)
jitter <- runif(length(X), 0.8, 1.2)
stripchart(X, pch=NA,
xlab=expression(paste(italic("landArea")," (thousands of square km)")), xaxt="n")
abline(v=seq(0, 2e3, 100), lty="dotted", col="lightgray")
axis(1,seq(0, 2e3, 100), cex.axis=0.8, las=2)
axis(3,quantile(X, c(0.25,0.5,0.75)), c("Lower Q","Median","Upper Q"), cex.axis=0.7, las=3, mgp=c(1,0.1,0), tcl=0.3)
points(X,jitter) 
title("Size of US states")
dev.off()

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

6 March 2009

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:41, 6 March 2009Thumbnail for version as of 21:41, 6 March 2009450 × 135 (97 KB)HYanWong {{Information |Description={{en|1=1D horizontal scatter plot (aka "dot plot" or "strip plot") with continuous data, points jittered and quartiles marked. Data {{=}} US state areas}} |Source=Own work by uploader |Author=HYanWong |Date=20
16:36, 27 February 2009Thumbnail for version as of 16:36, 27 February 2009135 × 450 (91 KB)HYanWong{{Information |Description={{en|1=Example R plot: 1D vertical scatter plot (stripplot) of US state areas, jittered, with quartiles marked on LH axis}} |Source=Own work by uploader |Author=HYanWong |Date=2009-02-27 |Permission= |other_ver
22:08, 26 February 2009Thumbnail for version as of 22:08, 26 February 2009135 × 450 (82 KB)HYanWong{{Information |Description={{en|1=Example R plot: 1D vertical scatter plot (stripplot) of US state areas, quartiles indicated by lines and point colours}} |Source=Own work by uploader |Author=HYanWong |Date=2009-02-26 |Permission= |other

The following page uses this file: