Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Rotating TreePlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82907] Re: Rotating TreePlot
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sat, 3 Nov 2007 03:21:54 -0500 (EST)
  • References: <fgca67$9j6$1@smc.vnet.net>

Or being inspired by the previous two answers:

Needs["DrawGraphics6`DrawingMaster`"]

Manipulate[
 Draw2D[
  {TreeDraw[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, {3 -> 8, "3->8"}, 4 -> 5,
       7 -> 8}, Left,
     VertexLabeling -> True] // RotateOp[phi]},
  PlotRange -> {{-1, 3}, {-1, 3}}],
  {phi, -Pi/2, Pi/2}]



-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"Coleman, Mark" <Mark.Coleman at LibertyMutual.com> wrote in message 
news:fgca67$9j6$1 at smc.vnet.net...
> 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: question about symbolize command.
  • Next by Date: How to get the options for ListPlot in V6
  • Previous by thread: Re: Rotating TreePlot
  • Next by thread: Re: NumberPadding on the left