|
|
|
"""3D Plot |
|
|
|
Automatically generated by Colab. |
|
|
|
Original file is located at |
|
https://colab.research.google.com/drive/13B9FN2GkGeAS6k5lWqBvys-V21P_unbX |
|
""" |
|
|
|
import matplotlib.pyplot as plt |
|
import numpy as np |
|
|
|
|
|
x = np.linspace(-5, 5, 100) |
|
y = np.linspace(-5, 5, 100) |
|
X, Y = np.meshgrid(x, y) |
|
Z = np.sin(np.sqrt(X**2 + Y**2)) |
|
|
|
|
|
fig = plt.figure() |
|
ax = fig.add_subplot(111, projection='3d') |
|
ax.plot_surface(X, Y, Z) |
|
|
|
ax.set_xlabel('X-axis') |
|
ax.set_ylabel('Y-axis') |
|
ax.set_zlabel('Z-axis') |
|
ax.set_title('WealthNet') |
|
|
|
plt.show() |