MathGroup Archive 2007

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

Search the Archive

Re: Rotating TreePlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82895] Re: Rotating TreePlot
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Fri, 2 Nov 2007 03:36:18 -0500 (EST)
  • References: <fgca67$9j6$1@smc.vnet.net>

Hi Mark,

Here is an example:

tp = TreePlot[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, {3 -> 8, "3->8"},
    4 -> 5, 7 -> 8}, Left, VertexLabeling -> True];

MapAt[GeometricTransformation[
    #, RotationTransform[-\[Pi]/2]] &, tp, 1]

Hope this helps...


--David


On Nov 1, 6:35 am, "Coleman, Mark" <Mark.Cole... at LibertyMutual.com>
wrote:
> Greetings,
>
> I've created a number of graphic using TreePlot, using the left options
> (so the tree expands across the page, left to right).How can I rotate
> this graphic 90 Degrees, do it runs down the page top to bottom (note:
> The Top option of TreePlot will do this, but it will also rotate the
> vertex labels, which I do not want).
>
> Thanks,
>
> -Mark




  • Prev by Date: Re: Font problem in Mathematica 6.0.1 Linux
  • Next by Date: Re: Rotating TreePlot
  • Previous by thread: Rotating TreePlot
  • Next by thread: Re: Rotating TreePlot