Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: edge labels
Replies: 3   Last Post: Mar 4, 2010 5:31 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bob Hanlon

Posts: 2,604
Registered: 1/29/05
Re: edge labels
Posted: Mar 2, 2010 7:58 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


one = Style["1", 18, Blue];

zero = Style["0", 18, Blue];

TreePlot[{
{1 -> 2, zero}, {2 -> 4, zero},
{3 -> 6, zero}, {1 -> 3, one},
{2 -> 5, one}, {3 -> 7, one}},
Top,
PlotStyle -> {Red, Thick}]


Bob Hanlon

---- Andre Hautot <ahautot@ulg.ac.be> wrote:

=============
I need to enlarge the size of the characters "0" and "1" in the display
of the following binary tree :

TreePlot[{{1 -> 2, "0"}, {2 -> 4, "0"}, {3 -> 6, "0"}, {1 -> 3, "1"},
{2 -> 5, "1"}, {3 -> 7, "1"}}, Top]

but I have no idea how to do that. Any idea ?
Thanks in advance,
Andre





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.