OK thanks, i'll do that. On Saturday, March 12, 2016 at 6:55:06 AM UTC+1, [email protected] wrote: > > On Fri, 11 Mar 2016, Pierre wrote: > > > This is from the documentation of the plot method of the Digraph class: > > > > sage: T = list(graphs.trees(7)) > > sage: t = T[3] > > sage: t.plot(heights={0:[0], 1:[4,5,1], 2:[2], 3:[3,6]}) > > > > The result (on SMC, and I think it used to be the same on my local sage) > is > > not what I expected at all: perhaps I misunderstand the 'heights' > option, bu > > t I thought that the vertices 3 and 6, for example, would be on the same > hor > > izontal line, as would be 4, 5, 1. Not the case for me at all ! > > I can confirm this. I know that this may depend on dot2text, installing it > may make difference. > > For example after t = Posets.PentagonPoset().hasse_diagram() the > height-option makes nothing. Except that it does, if you use option > layout='acyclic'. > > I am afraid that you must directly use .set_pos() on the graph. > > -- > Jori Mäntysalo >
-- 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 https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
