This repository contains Python scripts that generate 3D Mesh, Surface, and Volume plots using Plotly. Each script includes multiple equations that can be toggled through buttons in the plot interface.
The Mesh/mesh.py
script generates 3D mesh plots based on the following equations:
PARAMETRIC EQUATIONS
-
Equation 1:
$x = u \cdot \cos(v), \quad y = u \cdot \sin(v), \quad z = u$ -
Equation 2:
$x = \cos(u) \cdot \sin(v), \quad y = \sin(u) \cdot \sin(v), \quad z = \cos(v)$ -
Equation 3:
$x = u \cdot \cos(v), \quad y = u \cdot \sin(v), \quad z = \sin(u)$ -
Equation 4:
$x = \sin(u) \cdot \cos(v), \quad y = \sin(u) \cdot \sin(v), \quad z = \cos(u)$ -
Equation 5:
$x = u, \quad y = v, \quad z = \sin(u^2 + v^2)$
You can explore these equations by running the Mesh/mesh.py
script.
The Surface/surface.py
script generates 3D surface plots based on the following equations:
-
Equation 1:
$z = \sin(x^2 + y^2)$ -
Equation 2:
$z = x^2 + y^2$ -
Equation 3:
$z = \sin(x) \cdot \cos(y)$ -
Equation 4:
$z = \exp(-x^2 - y^2)$ -
Equation 5:
$z = \cos(x^2 + y^2)$
You can explore these equations by running the Surface/surface.py
script.
The Volume/volume.py
script generates 3D volume plots based on the following equations:
-
Equation 1:
$values = \exp\left(-\frac{x^2 + y^2 + z^2}{2 \cdot 0.5^2}\right)$ -
Equation 2:
$values = \sin(x) \cdot \sin(y) \cdot \sin(z)$ -
Equation 3:
$values = x^2 + y^2 + z^2$ -
Equation 4:
$values = \cos(x) \cdot \cos(y) \cdot \cos(z)$ -
Equation 5:
$values = \exp(-x^2 - y^2 - z^2)$
You can explore these equations by running the Volume/volume.py
script.
'relplot.py' 'distplot.py' 'pairplot.py' 'jointplot.py' 'corr.py' 'pivot.py' 'pivot_agg.py' 'confusion.py' 'clustermap.py' 'pdf_plots' 'catplot.py' '3d.py' '3d_line.py' '3d_surface.py' '3d_histogram.py'