Skip to content

plot.rpart ignores uniform=TRUE if graphics device is not open (PR#7361)

2 messages · Hsiu-Khuern Tang, Brian Ripley

#
Full_Name: Hsiu-Khuern Tang
Version: 2.0.0
OS: Debian GNU/Linux
Submission from: (NULL) (156.153.255.236)


Hi all,

If fit is an rpart object,
plot(fit, uniform=TRUE)
ignores uniform=TRUE if the graphics device is not already open.

To reproduce this:

library("rpart")
example(plot.rpart)
dev.off()   # <- works OK without this
plot(fit, uniform=TRUE)   # <- uniform=TRUE is ignored

Hsiu-Khuern.
#
Yes.  It sets it on a per-device basis.

Please do read the FAQ, and don't make non-maintainer reports of non-bugs.
On Fri, 12 Nov 2004 htang@hpl.hp.com wrote: