From fd519b0e45c857b266814994ba8c1421f508e522 Mon Sep 17 00:00:00 2001 From: redpony Date: Tue, 27 Jul 2010 16:13:19 +0000 Subject: preso git-svn-id: https://ws10smt.googlecode.com/svn/trunk@435 ec762483-ff6d-05da-a07a-a48fb63a330f --- report/pyp_clustering/acl09-short/histogram_7.R | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 report/pyp_clustering/acl09-short/histogram_7.R (limited to 'report/pyp_clustering/acl09-short/histogram_7.R') diff --git a/report/pyp_clustering/acl09-short/histogram_7.R b/report/pyp_clustering/acl09-short/histogram_7.R new file mode 100644 index 00000000..342e8576 --- /dev/null +++ b/report/pyp_clustering/acl09-short/histogram_7.R @@ -0,0 +1,8 @@ +type = matrix(c(1,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=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)) -- cgit v1.2.3