• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision8deba366554950bb0017491a1c4d872580e235fa (tree)
Time2010-09-23 21:44:56
Authorlorenzo
Commiterlorenzo

Log Message

I modified trivially the code (first I was repeating twice the same plot).

Change Summary

Incremental Difference

diff -r 5ffcc4703db3 -r 8deba3665549 R-codes/ggplot_histogram_overlap.R
--- a/R-codes/ggplot_histogram_overlap.R Thu Sep 23 10:59:54 2010 +0000
+++ b/R-codes/ggplot_histogram_overlap.R Thu Sep 23 12:44:56 2010 +0000
@@ -15,10 +15,11 @@
1515 dev.off()
1616
1717
18-gpl <- ggplot(subset(xy, case == "A"), aes(x=value, y = ..density..,
19-fill=case, group=case)) +
20- geom_histogram(alpha=0.5,binwidth=0.1, position="identity") +
21- geom_histogram(data = subset(xy, case == "B"),
18+
19+
20+ggplot(subset(xy, case == "A"), aes(x=value, fill=case, group=case)) +
21+ geom_histogram(alpha=0.5,binwidth=0.1, position="identity") +
22+ geom_histogram(data = subset(xy, case == "B"),
2223 alpha=0.5,binwidth=0.2, position="identity")
2324
2425