Python Matplotlib 3d projection rendering issue -


i plotting surface , wireframe using 3d projection in matplotlib. surface of raw data , wireframe of surfaced resampled

import matplotlib.pyplot plt mpl_toolkits.mplot3d import axes3d fig = plt.figure() ax = fig.add_subplot(111, projection='3d') ax.plot_surface(x, y, array, cmap='viridis', alpha=0.5,linewidth=0) ax.plot_wireframe(newx, newy, newarray,linewidth=1,color='black') ax.set_xlabel('z') ax.set_ylabel('x') ax.set_zlabel(ztitle) plt.show() 

what figure, neither surface or wireframe seem plot correctly

enter image description here

do see vertical 'spikes'? don't believe in data, rather rendering issue matplotlib. believe surface should smooth right ends of 'spikes'. seen here, copied array excel , plotted surface: enter image description here has else experienced issues matplotlib? there fix?

i'm trying produced figures of data report , need them accurate.

i'm using python 3.5 in windows 10 environment spyder 3.2.0 ide. matplotlib version 2.0.2

many thanks


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -