Hi


Kaiser Fung wrote:
I am running R on Mac OS X 10.2x.  When I create
postscript graphics of rpart tree objects, a tiny part
of the tree gets trimmed off, even when it has only a
few terminal nodes.  This happens even without fancy
but worse if fancy=T.  (This doesn't happen with
boxplot, scatter plots, etc.)  How do I fix this?

postscript("tree.eps")
plot(davb.tree, u=T)
text(davb.tree, use.n=T, fancy=F)
dev.off()


It's hard to see your problem without the actual data to reproduce it. Does it help if you precede the plot command with par(xpd=NA)?

Paul
--
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
[EMAIL PROTECTED]
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to