Plotting Cylinders

Description

Sage can plot a cylinder with the Cylinder() command. The command takes 3 arguments:

  • radius: The radius of the base.
  • height: The height of the cylinder.
  • closed: Set to True to plot the cylinder with its bases, or False to plot an open tube.

Sage Cell

Code

from sage.plot.plot3d.shapes import *
Cylinder(radius=2, height=5, closed=True)

Options

none

Tags

Primary Tags:

Secondary Tags:

A list of possible tags can be found at The WeBWorK Open Problem Library. For linear algebra tags see the Curated Courses Project.

Related Cells

Any related cells go here. Provide a link to the page containing the information about the cell.

Attribute

Permalink:

Author:

Date: 28 Aug 2019 14:45

Submitted by: Zane Corbiere

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License