Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

png scale of Posets and order from left ro right

Hi to all,

I am doing a project with Posets in Sage. What I want is to create Posets and O(P) to view a pattern based on the created (png) Posets, so that I can generalize the behavior of O(P). I have created the Posets, but it changes the order of the numbers in the Poset, which makes difficult to see the pattern. ( I cant upload images because of my Karma... :/)

For example, the labeling of the posets go, from left to right (when there are more nodes):

level           Poset (connected)                   
  2                 4

  1             3       2

  0                 1

1- How I can force to draw the picture (the png) to go in the ascending order, from left to right?

Also, when the posets have 12 or more elements, they are not readable, the labels are inserted inside the others...

2- How I can change the scale of the nodes and the scale of the arrows to be more readable??

Thak you!

Note: I am using

   x = P2.plot() # P2 is a Poset
   x.save("myfile.png") # save the Poset
click to hide/show revision 2
retagged

png scale of Posets and order from left ro right

Hi to all,

I am doing a project with Posets in Sage. What I want is to create Posets and O(P) to view a pattern based on the created (png) Posets, so that I can generalize the behavior of O(P). I have created the Posets, but it changes the order of the numbers in the Poset, which makes difficult to see the pattern. ( I cant upload images because of my Karma... :/)

For example, the labeling of the posets go, from left to right (when there are more nodes):

level           Poset (connected)                   
  2                 4

  1             3       2

  0                 1

1- How I can force to draw the picture (the png) to go in the ascending order, from left to right?

Also, when the posets have 12 or more elements, they are not readable, the labels are inserted inside the others...

2- How I can change the scale of the nodes and the scale of the arrows to be more readable??

Thak you!

Note: I am using

   x = P2.plot() # P2 is a Poset
   x.save("myfile.png") # save the Poset