Question: Actually answer the question instead of reposting an incorrect answer to the question. The program should plot an elliptic paraboloid, ellipsoid, cone, square pyramid, and

Actually answer the question instead of reposting an incorrect answer to the question. The program should plot an elliptic paraboloid, ellipsoid, cone, square pyramid, and parallelepiped. Answers that repost previous incorrect answers will be downvoted. Please read the instructions. Base code off of example. Actually answer the question instead of reposting an incorrect answer to the

Write a program surfaces3D.py that creates 3D plots of the following surfaces using contour3D and meshgrid: 1. elliptic paraboloid 2. ellipsoid 3. cone 4. square pyramid 5. parallelepiped Example1. Hyperbolic Paraboloid import numpy as np import matplotlib.pyplot as plt from mpl_toolkits import mplot3d ax=pltaxes(projection=3d) x=np. linspace (1,1,30) y= np.linspace x(1,1,1,30) X,Y=np.meshgrid (X,Y) \# make a mesh, two 2D arrays, and assign 2D arrays to X and Y a,b=0.5,1 Z=XX/aYY/b \#make a 2D array and assign it to Z ax. contour3D(X, Y, Z, 50) ax.set_title('Hyperbolic Paraboloid') plt. show()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!