Ask Your Question
0

how to plot poset and subposet in a graph?

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

cjsh gravatar image

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

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

PP.order_filter([3,2]);PP.order_ideal([4,3])

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-01-20 07:45:18 +0100

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

Comments

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 +0100 )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

Stats

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

Seen: 712 times

Last updated: Jan 21 '14