Making a Tetrahedron in Mathematica

Click For Summary
SUMMARY

This discussion focuses on creating a tetrahedron in Mathematica using specific coordinates for its vertices. The user provides sets of coordinates for points a, b, c, and d, and seeks guidance on visualizing these points in a 3D space. A solution is offered using the Graphics3D function to plot the tetrahedron with polygons representing its faces. The discussion emphasizes the need for clear x, y, z coordinates for accurate representation.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of 3D graphics concepts
  • Knowledge of coordinate systems in three-dimensional space
  • Basic experience with plotting functions in Mathematica
NEXT STEPS
  • Explore the use of the Graphics3D function in Mathematica
  • Learn about the Polygon function for creating 3D shapes
  • Research how to customize point markers in Mathematica plots
  • Investigate advanced 3D visualization techniques in Mathematica
USEFUL FOR

This discussion is beneficial for Mathematica users, 3D graphics enthusiasts, and anyone interested in visualizing geometric shapes in computational environments.

jemma
Messages
35
Reaction score
0
I want to make a tetrahedron in mathematica. For example, suppose:

{a = 0.2, b = 0.5, c = 0.1, d = 0.3}
{a = 0.1, b = 0.2, c = 0.4, d = 0.3}
{a = 0.4, b = 0.3, c = 0.2, d = 0.1}
{a = 0.6, b = 0.2, c = 0.1, d = 0.1}

and I want a tetrahedrom so that the four points are a, b, c and d - and the values are plotted within the space (each set with a unique symbol such as circles, squares, etc)

Thanks in advance if you can help!
 
Physics news on Phys.org
Do you mean to give each point x,y,z coordinates?

If so then perhaps something like this

a={0.2,0.5,0.1};b={0.1,0.2,0.4};c={0.4,0.3,0.2};d={0.6,0.2,0.1};
Show[Graphics3D[{Polygon[{a,b,c}], Polygon[{a,b,d}],Polygon[{b,c,d}],Polygon[{c,a,d}]}]]
 
Last edited by a moderator:

Similar threads

  • · Replies 18 ·
Replies
18
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K