Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 226
from sage.plot.plot3d.shapes2 import frame3d F=frame3d([0,0,0],vector([10,10,10]),color='red') A=points((4,3,2),size=10,color='red',opacity=.5) B=point([(4,3,8)],size=10,color='red',opacity=.5) t = var('t') p = vector([4,3,2]) q = vector([0,0,0]) vec=parametric_plot3d(p*t+q, (t,0,1)) #vectB=vector(B.xdata[1],B.ydata[1],B.zdata[1]) e=0.2 eps=vector([4+e,3+e,2+e]) T_A = text3d('A',eps) #T_B = text3d('B',B) F+A+T_A+B+vec
3D rendering not yet implemented
vector([pi, 2, 3, e])
(pi, 2, 3, 0.200000000000000)
from sage.plot.plot3d.shapes2 import frame3d frame3d([1,3,2],vector([2,5,4]),color='red')
3D rendering not yet implemented
from sage.manifolds.operators import * E.<x,y,z> = EuclideanSpace() print(E) E E.atlas() p = E((3,-2,1), name='p') p.display()
Euclidean space E^3 Euclidean space E^3 [Chart (E^3, (x, y, z))]
Error in lines 7-7 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1188, in execute flags=compile_flags) in namespace, locals File "", line 1, in <module> File "sage/structure/element.pyx", line 489, in sage.structure.element.Element.__getattr__ (build/cythonized/sage/structure/element.c:4611) return self.getattr_from_category(name) File "sage/structure/element.pyx", line 502, in sage.structure.element.Element.getattr_from_category (build/cythonized/sage/structure/element.c:4720) return getattr_from_other_class(self, cls, name) File "sage/cpython/getattr.pyx", line 389, in sage.cpython.getattr.getattr_from_other_class (build/cythonized/sage/cpython/getattr.c:2540) raise AttributeError(dummy_error_message) AttributeError: 'Euclidean3dimSpace_with_category.element_class' object has no attribute 'display'