Displaying 1 result from an estimated 1 matches for "piecharttest".
2010 Mar 10
1
pie EPS BB
...ie-chart boundary touches the four sides of the
BoundingBox, and its centre is at the centre of the
BoundingBox. This is the puzzle I have not been able
to solve.
Here is an example of the sort of thing I have been trying.
pcts <- c(3.0,2.0,0.4,10.0,12.0,3.0,39.0,14.0,7.0,9.6)
postscript("piecharttest.eps",horizontal=FALSE,
paper="special",width=3.0,height=3.0)
pie(pcts, clockwise=TRUE, labels=rep(NA,10), radius=1.0)
dev.off()
With
pie(pcts, clockwise=TRUE, labels=rep(NA,10), radius=1.0)
lines(c(-1,1,1,-1,-1),c(-1,-1,1,1,-1))
I can see that the chart exactly fits i...