Ask Your Question

how to plot poset and subposet in a graph?

asked 2014-01-19 20:13:46 -0500

cjsh gravatar image

updated 2016-07-12 13:32:36 -0500

FrédéricC gravatar image

hot to put poset and subposet and order_filter and order_ideal in one graph,but different color?

PP = Posets(6)[18];show(PP,vertex_size=100,vertex_colors='yellow');

Q = PP.subposet([2,4]);Q;show(Q,vertex_size=100,vertex_colors='green')


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-01-20 00:45:18 -0500

ppurka gravatar image
sage: PP = Posets(6)[18]
sage: Q = PP.subposet([2,4])
sage: PP.plot(vertex_size=100,vertex_colors='yellow') + Q.plot(vertex_size=100,vertex_colors='green')
edit flag offensive delete link more


thank you very much! it is successed to plot both together. but plot? no ertex_size= and vertex_colors=,only color=,why?

cjsh gravatar imagecjsh ( 2014-01-20 21:18:57 -0500 )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


Asked: 2014-01-19 20:13:46 -0500

Seen: 83 times

Last updated: Jan 20 '14