I am trying to sample around 1000 points from a 3-D ellipsoid, uniformly. Is there some way to code it such that we can get points starting from the equation of the ellipsoid? I want points on the surface of the ellipsoid. Answer Here is a generic function to pick a random point on a surface of a sphere, spheroid
Tag: ellipse
Plot Ellipse with matplotlib.pyplot (Python)
Sorry if this is a stupid question, but is there an easy way to plot an ellipse with matplotlib.pyplot in Python? I was hoping there would be something similar to matplotlib.pyplot.arrow, but I can’t find anything. Is the only way to do it using matplotlib.patches with draw_artist or something similar? I would hope that there is a simpler method, but