Re: [sage-support] 3d plotting in CoCalc with SageMath 8.0

2017-10-30 Thread William Stein
On Sun, Oct 29, 2017 at 9:31 AM Simon Willerton wrote: > I have the following code to help my students visualize surfaces > > t, theta = var('t, theta', domain='real') > x(t) = cosh(t) > z(t) = t > formula = (x(t)*cos(theta), x(t)*sin(theta), z(t)) > parameters = ((t, -3, 3), (theta, -pi, pi)) >

Re: [sage-support] 3d plotting in CoCalc with SageMath 8.0

2017-10-29 Thread William Stein
For sage worksheets, I've created https://github.com/sagemathinc/cocalc/issues/2450 On Sun, Oct 29, 2017 at 1:12 PM William Stein wrote: > On Sun, Oct 29, 2017 at 9:31 AM Simon Willerton < > s.willer...@sheffield.ac.uk> wrote: > >> I have the following code to help my students visualize surfac

Re: [sage-support] 3d plotting in CoCalc with SageMath 8.0

2017-10-29 Thread William Stein
On Sun, Oct 29, 2017 at 9:31 AM Simon Willerton wrote: > I have the following code to help my students visualize surfaces > > t, theta = var('t, theta', domain='real') > x(t) = cosh(t) > z(t) = t > formula = (x(t)*cos(theta), x(t)*sin(theta), z(t)) > parameters = ((t, -3, 3), (theta, -pi, pi)) >

[sage-support] 3d plotting in CoCalc with SageMath 8.0

2017-10-29 Thread Simon Willerton
I have the following code to help my students visualize surfaces t, theta = var('t, theta', domain='real') x(t) = cosh(t) z(t) = t formula = (x(t)*cos(theta), x(t)*sin(theta), z(t)) parameters = ((t, -3, 3), (theta, -pi, pi)) surface = ParametrizedSurface3D(formula, parameters) show(surface.plot(a