In this problem you will be creating a 3D surface using the pyplot module from matplotlib.
The function you will be plotting is: π(π₯, π¦) = 0.3π₯ + 0.5π¦ + 4πβ0.2βπ₯^2+π¦^2 cos(βπ₯2 + π¦2)
Over the domain: β10 β€ π₯ β€ 10, β10 β€ π¦ β€ 10. Use 1000 grid points in the x and y directions.
Your plots must have labels for the x, y, and z axis as well. You will also be modifying the color scheme of the plot by using the βhotβ colormap which can be implemented with the following syntax: ax.plot_surface(X,Y,Z,cmap=βhotβ).
In this problem you will be creating a 3D surface using the pyplot module from matplotlib. The function you will be plot
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am