is it possible to display a poset with (LaTeX) labels on the covering
relations and (LaTeX) labels on the vertices?
For example:
sage: P = Poset([[1,2,3,4], [[1,2], [2,3], [1,4]]])
sage: e = {i: "$q^%s$" % i for i in P}
sage: c = {(i,j): "$%s^%s$" % (i, j) for i, j in P.cover_relations()}
sage: P.plot(element_labels=e, cover_labels=c)
This almost works. Unfortunately, the layout is not the dot2tex layout,
which I need because my posets are large, and it displays 'None' instead of
the edge label.
Martin
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/b519e75c-da7f-46a4-9075-d00aec47157en%40googlegroups.com.