Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Poset plot is upside-down

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])

D.plot()

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

Poset plot is upside-down

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])

D.plot()

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