Skip to content

Tag: plot

Matplotlib change Figure size

Good morning everyone, I’ve been playing around with matplotlib recently and I drafted some Charts. Unfortunately, I’m currently stuck, as I cannot resize the chart (Code and Screenshots below, sorry for the chaos with the dates). I tried using figsize but it just doesn’t change the output i…

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: