MathGroup Archive 2010

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

Search the Archive

Re: edge labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107925] Re: edge labels
  • From: dh <dh at metrohm.com>
  • Date: Wed, 3 Mar 2010 05:49:49 -0500 (EST)
  • References: <hmiiqo$40m$1@smc.vnet.net>

Hi Andre,
you may give the characters some style.E.g.:
c0 = Style["0", 16];
c1 = Style["1", 16];
TreePlot[{{1 -> 2, c0}, {2 -> 4, c0}, {3 -> 6, c0}, {1 -> 3,
    c1}, {2 -> 5, c1}, {3 -> 7, c1}}, Top]
Daniel


On 02.03.2010 09:38, Andre Hautot 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
>
>


-- 

Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh at metrohm.com>
Internet:<http://www.metrohm.com>



  • Prev by Date: (is there) anyway to tell that Dynamic is running?
  • Next by Date: Re: Behavior of Longest
  • Previous by thread: Re: edge labels
  • Next by thread: Re: edge labels