Sharedsupport / 2016-09-22-152817-issue 592.sagewsOpen in CoCalc
Author: William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
g = graphs.RandomGNM(15, 20) # 15 vertices and 20 edges show(g) g.incidence_matrix()
d3-based renderer not yet implemented
[1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0] [0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0] [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0] [0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0] [0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0] [0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0] [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0] [0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 1]
show(g.plot3d(), frame=False)
3D rendering not yet implemented
#Looks good: show(graphs.IcosahedralGraph().plot3d(bgcolor='white'), frame=False)
3D rendering not yet implemented
#Looks like crap show(graphs.IcosahedralGraph().plot3d(), frame=False)
3D rendering not yet implemented