#18936: Poset plot won't accept heights argument if poset is ranked
---------------------------------+------------------------
Reporter: robharron | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.8
Component: combinatorics | Resolution:
Keywords: Poset, plot | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Comment (by robharron):
What I originally set out to do was plot the subgroup lattice of a group
so that subgroups of the same order are at the same height. So, I created
the subgroup poset and tried passing the appropriate height dictionary and
came across the error this ticket is about.
Of course, having fixed this problem, things still don't turn out so
nicely since, for instance,
{{{
P = Poset([[1,2,3,4],[5],[5],[5],[5],[]])
heights = {1:[0], 2:[1,2,3], 3:[4], 4:[5]}
P.plot(heights=heights)
}}}
gives a plot where the arrow from 0 to 4 goes through 2 and the arrow from
2 to 5 goes through 4, so it looks like 0<2<4<5. Is there a way to get it
to plot this better?
--
Ticket URL: <http://trac.sagemath.org/ticket/18936#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.