CoCalc Public Filestmp / 2016-09-08-055757.sagews
Author: William A. Stein
version()

'SageMath version 7.3, Release Date: 2016-08-04'
points = [(2,0,0), (0,2,0), (0,0,2), (-1,0,0), (0,-1,0), (0,0,-1)]
show(LatticePolytope(points).plot3d(), spin=5)

3D rendering not yet implemented



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] [0 0 1 1 1 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 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] [1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0] [0 0 1 0 0 0 1 0 0 0 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 1 0 0 0 0] [0 1 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 1 0 0 0 0 0 1 1 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 0 0 0 0 0 0 1 0 0 1 0 0 1 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 1 1 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]
import datasift

@interact
def f(n=[1..10]):
print n

version()

'SageMath version 7.3, Release Date: 2016-08-04'
show(continued_fraction(22/7))

$\displaystyle 3+ \frac{\displaystyle 1}{\displaystyle 7}$
version()

'SageMath version 7.3, Release Date: 2016-08-04'
plot(sin)

sphere()

3D rendering not yet implemented