pstree too gets too large
Adam Rogoyski
rogoyski at cs.utexas.edu
Sun Oct 24 22:58:00 CEST 1999
-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------
Hi. I am trying to use binary trees which have up to a few hundred
nodes in them, and when I have more than a few nodes, Everything gets
pushed off the page and printing it cuts off most of the tree. I am not
sure how to get the tree to fit on a single page or to span multible
pages. Any help would be great. Here is an example of one of the smaller
trees I was using, where over half of it is cut off.
Adam
\documentclass{article}
\usepackage{pstricks,pst-node,pst-tree}
\special{landscape}
\begin{document}
\pstree{\Tcircle{150}} {
\pstree{\Tcircle{86}} {
\pstree{\Tcircle{52}} {
\pstree{\Tcircle{29}} {
\pstree{\Tcircle{16}} {
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
}
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
}
}
}
}
\pstree{\Tcircle{13}} {
\pstree{\Tcircle{7}} {
\pstree{\Tcircle{4}} {
}
\pstree{\Tcircle{3}} {
}
}
\pstree{\Tcircle{6}} {
\pstree{\Tcircle{3}} {
}
\pstree{\Tcircle{3}} {
}
}
}
}
\pstree{\Tcircle{23}} {
\pstree{\Tcircle{12}} {
\pstree{\Tcircle{6}} {
\pstree{\Tcircle{3}} {
}
\pstree{\Tcircle{3}} {
}
}
\pstree{\Tcircle{6}} {
}
}
\pstree{\Tcircle{11}} {
\pstree{\Tcircle{6}} {
\pstree{\Tcircle{3}} {
}
\pstree{\Tcircle{3}} {
}
}
\pstree{\Tcircle{5}} {
\pstree{\Tcircle{3}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
}
}
}
\pstree{\Tcircle{34}} {
\pstree{\Tcircle{18}} {
}
\pstree{\Tcircle{16}} {
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
}
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
}
}
}
}
\pstree{\Tcircle{64}} {
\pstree{\Tcircle{32}} {
\pstree{\Tcircle{16}} {
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
}
\pstree{\Tcircle{8}} {
}
}
\pstree{\Tcircle{16}} {
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
}
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
}
}
}
\pstree{\Tcircle{32}} {
\pstree{\Tcircle{16}} {
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
}
}
\pstree{\Tcircle{4}} {
}
}
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
}
}
\pstree{\Tcircle{16}} {
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
}
\pstree{\Tcircle{8}} {
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
}
\pstree{\Tcircle{4}} {
\pstree{\Tcircle{2}} {
\pstree{\Tcircle{1}} {
}
\pstree{\Tcircle{1}} {
}
}
\pstree{\Tcircle{2}} {
}
}
}
}
}
}
}
\end{document}
-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------
More information about the PSTricks
mailing list