summaryrefslogtreecommitdiff
path: root/report/pyp_clustering/acl09-short/histogram_9.R
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-27 16:13:19 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-27 16:13:19 +0000
commitfd519b0e45c857b266814994ba8c1421f508e522 (patch)
tree6d50c9b954e3c13e9df627c1ecc25c53544a5f58 /report/pyp_clustering/acl09-short/histogram_9.R
parent4c5df460c9da5c935438850ef7993463a9113286 (diff)
preso
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@435 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'report/pyp_clustering/acl09-short/histogram_9.R')
-rw-r--r--report/pyp_clustering/acl09-short/histogram_9.R7
1 files changed, 7 insertions, 0 deletions
diff --git a/report/pyp_clustering/acl09-short/histogram_9.R b/report/pyp_clustering/acl09-short/histogram_9.R
new file mode 100644
index 00000000..57166634
--- /dev/null
+++ b/report/pyp_clustering/acl09-short/histogram_9.R
@@ -0,0 +1,7 @@
+type = matrix(c(2,0,1, 0,1,0, 1,0,0), nr=3)
+dimnames(type)=list(Type=c("0", "1", "2"),Constituent=c("the","cats","meow"))
+
+pdf('histogram_7.pdf', paper="special", width=12, height=10, onefile=FALSE,pointsize=20)
+
+barplot(type, axes=FALSE, space=c(0.5,0.5,0.5,2.0,0.5,0.5,2.0,0.5,0.5), xpd=F,beside=TRUE, legend=rownames(type), ylab="Bleu", ylim=range(0,2), col=c("black","grey","darkblue"), las=1)
+axis(side=2, at=c(0,1,2))