We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
Tube[{{x1,y1,z1},{x2,y2,z2},…}]
represents a 3D tube around the line joining a sequence of points.
Tube[{pt1,pt2,…},r]
represents a tube of radius r.
Tube[{{pt11,pt12,…},{pt21,…},…},…]
represents a collection of tubes.
Tube[curve,…]
represents a tube around the specified 3D curve.
Details and OptionsMultiple connected tube segments:
Multiple disconnected tube segments:
Radii can also be specified at vertices:
Tube can take a line or curve argument:
Tube Styling (8)Different properties can be specified for the front and back faces using FaceForm:
Tubes with different specular exponents:
Opacity specifies the face opacity:
Tube caps can be specified using CapForm:
Joining of tube segments can be specified using JoinForm:
Colors can be specified at vertices using VertexColors:
Coordinate Specification (1) Applications (4)PieChart3D uses Tube to produce donut charts:
Plot a parametric space curve and replace the curve with a tube:
Tube can be used with Arrow for full 3D arrows:
Use Tube for 3D edges in GraphPlot3D:
Obtain directed edges using Arrow:
Properties & Relations (6)Use Scale to get an elliptical tube:
Use Arrow with Tube to get a full 3D arrow:
Cone is a special case of Tube:
Get a truncated cone by specifying different radii in Tube:
Cylinder is a special case of Tube:
Get curved cylinder by using additional points:
A parametric specification of a tube generated using ParametricPlot3D:
An implicit specification of a tube generated by ContourPlot3D:
Possible Issues (1)Tube objects can only use machine-number coordinates:
Neat Examples (4)A random collection of tube curves:
Tubes with interpolated colors:
Tube curves with interpolated radii:
Wolfram Research (2008), Tube, Wolfram Language function, https://reference.wolfram.com/language/ref/Tube.html (updated 2010). TextWolfram Research (2008), Tube, Wolfram Language function, https://reference.wolfram.com/language/ref/Tube.html (updated 2010).
CMSWolfram Language. 2008. "Tube." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2010. https://reference.wolfram.com/language/ref/Tube.html.
APAWolfram Language. (2008). Tube. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Tube.html
BibTeX@misc{reference.wolfram_2025_tube, author="Wolfram Research", title="{Tube}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/Tube.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_tube, organization={Wolfram Research}, title={Tube}, year={2010}, url={https://reference.wolfram.com/language/ref/Tube.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4