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?
1 | initial version |
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?
2 | No.2 Revision |
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?