no linewidth with parametric plot
It seems that there is no option for linewidth in parametric_plot. (2D in my case.) Is that true? Any way to make the graph thicker?
It seems that there is no option for linewidth in parametric_plot. (2D in my case.) Is that true? Any way to make the graph thicker?
parametric_plot
takes an argument thickness
as follows:
sage: parametric_plot([cos(x),sin(x)],x,0,2*pi,thickness=5)
Thanks. That works (of course). It is too bad that the syntax is not uniform...
(2019 additional answer to this 2011 question)
Note that the Three.js viewer does not respect thickness
on Windows and some macOS.
Instead, use radius
to create a cylinder around the curve. See:
We tried to be consistent in that "thickness" specifies a width that does not change as you zoom in and out, while linewidth does visually change as you zoom in and out. If that is not the case, it should be fixed.
Asked: 14 years ago
Seen: 1,093 times
Last updated: Apr 02 '19