On 2013-09-03, juaninf <[email protected]> wrote: > I am trying plot a tree than Figure using Digraph but I cann't get this. I > get disordered tree. How I will be able to plot than figure?. The code is > in attach.
See the layout component of your graph, say, g. You'd need to use g.layout(pos=..., save_pos=True) with pos the layout you need. Then g.show() will use the saved layout. E.g. p=g.layout() # assigning the current layout to p p[0]=[1.,2.] # modifying the position of vertex 0 g.layout(pos=p,save_pos=True) # saving the modified layout g.show() # using the modified layout > HTH, Dmitrii -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
