Ask Your Question

Poset plot is upside-down

asked 2014-12-29 17:01:23 +0200

mgass gravatar image

updated 2014-12-29 23:34:00 +0200

Tried the following in smc

X = (24).divisors()

R = [(a,b) for a in X for b in X if a.divides(b)]

D = Poset([X,R])


The resulting plot is upside-down; that is "1" is at the top and "24" at the bottom. How can I fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-12-29 18:58:45 +0200

FrédéricC gravatar image

You can use

edit flag offensive delete link more


That flips it over, but the arrows point in the wrong direction.

According to the documentation, plot applied to a poset should be bottom to top with arrows pointed up.

mgass gravatar imagemgass ( 2014-12-29 23:30:12 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-12-29 17:01:23 +0200

Seen: 463 times

Last updated: Dec 29 '14