1 | initial version |
You can use the polygon
command as follows:
p1 = vector([1,-0.5,0]) # eigenvector of eigenvalue 2
p2 = vector([0,0,1]) # eigenvector of eigenvalue 2
c = vector([1,-1,0]) # eigenvector of eigenvalue 3
q=plot(p1, color = "red") + plot(p2, color = "red") + plot(c)
q+=polygon([[0,0,0],p1,p1+p2,p2],opacity=0.5,color="red")
show(q)