[Xy-pic] binary trees

Ross Moore ross@ics.mq.edu.au
Fri, 22 Jun 2001 11:48:58 +1000 (EST)


> Hello Ross,
> 
> > The Xy-pic Reference Manual explains the parsing of the
> > argument of \xygraph. It provides a simple "escape" mechanism
> > to use arbitrary Xy-pic kernel code, when this is an appropriate
> > way to add features into the diagram.
> 
> Thanks for taking the time to reply. It almost looks as I imagined it, except 
> the stars in the corners should be _real_ corners. I guess, if there's no 
> other way then I'll go with your solution without quesitoning it much. On the 

There are infinitely many possibilities for drawing such a picture with Xy-pic.
I've added to the previous example; so look at it again now.


> other hand, if there's an existing template that creates nice triangles then 
> I would like to see it :-)

A template cannot possibly cope with the infinitude of possibilities.
The Xy-pic parsing language is already really quite simple and extremely
flexible. You just need to put some time into understanding its structure.

You should also look at the  \xypolygon  command.
The reference manual has lots of examples.
It integrates well with \xygraph for building nice diagrams based
upon the regular layout of several points.


Hope this helps,

	Ross Moore

> 
> Cheers,
> Andi.
> 
> -- 
> Andreas Bauer, baueran _at_ in.tum.de, http://home.in.tum.de/baueran/
> "Science without religion is lame; religion without science is blind."
>   -- Albert Einstein
> _______________________________________________
> Xy-pic mailing list
> http://tug.org/mailman/listinfo/xy-pic