Skip to content
Advertisement

Tag: points

Using points to Plot a Sphere in Julia

I would like to sample N points (lets say N = 10000) on a sphere. I know how to plot a 3D sphere. However, I am not sure how to use spherical coordinates for points. (below is the code I used for the sphere) Answer This will do the job:

Advertisement