- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- バックアップ を表示
- データ・マイニング/Rでグラフを重ねる へ行く。
- 1 (2014-01-13 (月) 10:39:58)
- 2 (2014-01-13 (月) 11:22:41)
この記事はまだ書きかけです. *はじめに [#t790d8e9] Rでグラフを重ねる方法のメモです. ここでは,例として,次の二つのグラフを重ねて書きます. #geshi(rsplus){{ > set.seed(123) > x1 = rnorm(100, mean=1, sd=0.3) > y1 = rnorm(100, mean=1, sd=0.3) > c1 <- cbind(x1, y1) > colnames(c1) <- c("x", "y") > plot(c1) }} #geshi(rsplus){{ > x2 = rnorm(100, mean=-1, sd=0.3) > y2 = rnorm(100, mean=-1, sd=0.3) > c2 <- cbind(x2, y2) > colnames(c2) <- c("x", "y") > plot(c2, pch=2) }} *グラフを描画するためのパラメーター設定 [#w3ee12e1] グラフを描画するためのパラメーターを設定するには,''par関数''を使います. グラフを重ねるには,