MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: edge labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107907] Re: [mg107899] edge labels
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 2 Mar 2010 07:54:05 -0500 (EST)
  • Reply-to: hanlonr at cox.net

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 at 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



  • Prev by Date: Behavior of Longest
  • Next by Date: Re: Select Maximum Value
  • Previous by thread: Re: edge labels
  • Next by thread: Re: edge labels