Skip to main content

All Questions

67votes
4answers
227kviews

Axes from plt.subplots() is a "numpy.ndarray" object and has no attribute "plot"

The information below may be superfluous if you are trying to understand the error message. Please start off by reading the answer by @user707650. Using MatPlotLib, I wanted a generalizable script ...
Lucubrator's user avatar
5votes
2answers
3kviews

Order of indexes in a Numpy multidimensional array

For example, say I'm simulating a bunch of particles doing something over time, and I have a multidimensional array called particles with these indexes: The x/y/z coordinates of the particle (of ...
Apocheir's user avatar
5votes
1answer
15kviews

How do I visualize or plot a multidimensional tensor?

I was wondering if anyone here has ever tried to visualize a multidimensional tensor in numpy. If so, could you share with me how I might go about doing this? I was thinking of reducing it to a 2D ...
CodeinCafes's user avatar
5votes
2answers
3kviews

How do I interpolate a 2D gridded point cloud to a continuous area?

I have a 2 dimensional Numpy NDarray filled with floats between 0 and about 8. This 2 dimensional arrays size is (1000, 1600) and there are about 1400 values, (the points in the point cloud), the ...
Baffel's user avatar
3votes
1answer
1kviews

Confidence Interval 3 dimensional plot

I have a 3-dimensional plot and I am able to plot it with the code written below. Considering that my point distribution is represented by a 100x100 matrix, is it possible to plot a confidence ...
John_maddon's user avatar

close