This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi, I know the question is probably silly, but i couldn't find any answer while searching the internet. So i somehow, endup with a (x,y,z) array where x,y, and z are 3d coordinates and arr[x][y][z] is a value. I want to plot all the values on their respective coordinates. I tried the scatter plot from matplotlib but there is always a problem of dimensions: ax = fig.add_subplot(111, projection='3d') ax.scatter(arr, arr, marker='s', color='red')
What exactly should I put in the args of scatter ? I tried arr[:,:], arr[:,:] which gave me a result but am not sure it s the correct one. Any help is appreciated!
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Numpy/comme...