summaryrefslogtreecommitdiff
path: root/report/pyp_clustering/acl09-short/histogram_4.R
diff options
context:
space:
mode:
Diffstat (limited to 'report/pyp_clustering/acl09-short/histogram_4.R')
-rw-r--r--report/pyp_clustering/acl09-short/histogram_4.R8
1 files changed, 8 insertions, 0 deletions
diff --git a/report/pyp_clustering/acl09-short/histogram_4.R b/report/pyp_clustering/acl09-short/histogram_4.R
new file mode 100644
index 00000000..fefb1c89
--- /dev/null
+++ b/report/pyp_clustering/acl09-short/histogram_4.R
@@ -0,0 +1,8 @@
+type = matrix(c(0,1,0, 0,1,0, 0,0,0), nr=3)
+dimnames(type)=list(Type=c("0", "1", "2"),Constituent=c("the","cats","meow"))
+
+pdf('histogram_4.pdf', paper="special", width=18, height=10, onefile=FALSE,pointsize=40)
+
+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="Tables", ylim=range(0,2), col=c("black","grey","darkblue"), las=1)
+axis(side=2, at=c(0,1,2))