[R] solution: rpart graphics, Mac

2003-11-19 Thread Kaiser Fung

Concerning tree graphics being trimmed, I received two
suggestions, both of which worked.

(a) plot(..., margin=0.1)

(b) set par(xpd=NA), then plot

Thanks!

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


[R] rpart postscript graphics, Mac OS

2003-11-17 Thread Kaiser Fung

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()

Thanks
Kais

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