Ask Your Question

how to plot poset and subposet in a graph?

asked 2014-01-20 03:13:46 +0200

cjsh gravatar image

updated 2016-07-12 20:32:36 +0200

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 07:45:18 +0200

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-21 04:18:57 +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


Asked: 2014-01-20 03:13:46 +0200

Seen: 580 times

Last updated: Jan 21 '14