Re: [sage-support] Piecewise plot not smooth in png

2018-01-22 Thread Simon Willerton
On Monday, January 22, 2018 at 12:07:07 AM UTC, Simon Willerton wrote: > > > On Sunday, January 21, 2018 at 7:02:24 PM UTC, William wrote: >> >> >> On Sun, Jan 21, 2018 at 9:01 AM Simon Willerton >> wrote: >> >>> Hi! >>> >>> The

Re: [sage-support] Piecewise plot not smooth in png

2018-01-21 Thread Simon Willerton
On Sunday, January 21, 2018 at 7:02:24 PM UTC, William wrote: > > > On Sun, Jan 21, 2018 at 9:01 AM Simon Willerton > wrote: > >> Hi! >> >> There seems to be a bug in the plotting in the Jupyter notebook. The >> following piecewise defined function shou

[sage-support] Piecewise plot not smooth on Jupyter

2018-01-21 Thread Simon Willerton
Hi! There seems to be a bug in the plotting in the Jupyter notebook. The following piecewise defined function should be smooth at r=1 but the plot is not; the first part of the plot seems to be lifted slightly. I noticed this in a more complicated example but this is a reasonably minimal case

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

2017-11-04 Thread Simon Willerton
Thanks Eric. I just found the problem with nbviewer that you posted the solution to. Fantastic precognitive help! And thanks William. Simon. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving e

[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