#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 jmantysalo):

 About plotting in general: There is `element_labels` but `vertex_size`.
 Plotting poset is not fully "poset-aware". There are options that don't
 make sense, something like `xaxis`.

 About not ranked posets, an idea: Let us define `grank` for connected
 poset. First find (some) longest chain of poset and let it's elements have
 granks 0, 1, 2.... Now define grank of other elements so that they are
 average of distances to elements of the longest chain. If for example
 there is "side-chain" of element a and b from longesth paht grank element
 2 to longest path grank element 6, then a will have grank ((2+1)+(6-2))/2
 and b will have grank ((2+2)+(6-1))/2. And now set vertical position of
 elements according to grank.

--
Ticket URL: <http://trac.sagemath.org/ticket/18936#comment:4>
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.

Reply via email to