For change of Tree draw size

1,764 views
Skip to first unread message

이정선

unread,
Apr 10, 2013, 11:28:59 PM4/10/13
to rattle-users, Graham Williams
Hi,
 
I want to change the tree draw size.
Because tree draw size is so small, I can't see then tree node number, rule, path
 
Pls let me know how do I change the size..
 
Thanks.

--
JeongSeon, Lee

이정선

unread,
Apr 12, 2013, 9:00:58 AM4/12/13
to Graham Williams, rattle-users
Thank you.
 
I try to do your advise about resize tree draw.
However I can't read rule and path etc.
I think ,  this problem is font size. but I'm not sure
 
Foy your understanding , I attached tree draw.
 
Pls let me know how do I solve the problem.
 
Thanks in advance 


2013/4/12 Graham Williams <Graham....@togaware.com>
You can resize the window itself and the tree should rescale.

Or have a look in the Log tab and note the rattle command used to draw the tree:

fancyRpartPlot(crs$rpart, main="Decision Tree weather.csv $ RainTomorrow")

Then in the R console, open a new device of the size you want, and run the command:

> dev.new(width=10, height=8)
> fancyRpartPlot(crs$rpart, main="Decision Tree weather.csv $ RainTomorrow")


Graham Williams



--
JeongSeon, Lee
decision tree.emf

Graham Williams

unread,
Apr 12, 2013, 9:23:43 PM4/12/13
to rattle-users
Not able to open the emf file.

You could try passing some of the usual R graphics parameters through to see how that goes:

> fancyRpartPlot(crs$rpart, main="Decision Tree weather.csv $ RainTomorrow", cex=2)

Graham Williams


--
You received this message because you are subscribed to the Google Groups "rattle-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rattle-users...@googlegroups.com.
To post to this group, send email to rattle...@googlegroups.com.
Visit this group at http://groups.google.com/group/rattle-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages