Matplot 3D image

import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import Axes3D
import numpy as np

fig
= plt.figure()
ax
= Axes3D(fig)
X
= np.arange(-4, 4, 0.25)
Y
= np.arange(-4, 4, 0.25)
X, Y
= np.meshgrid(X, Y)
R
= np.sqrt(X**2 + Y**2)
Z
= np.sin(R)
ax.plot_surface(X, Y, Z, rstride
=1, cstride=1, cmap='rainbow')
plt.show()

import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import Axes3D
import numpy as np

fig
= plt.figure()
ax
= Axes3D(fig)
X
= np.arange(-4, 4, 0.25)
Y
= np.arange(-4, 4, 0.25)
X, Y
= np.meshgrid(X, Y)
R
= np.sqrt(X**2 + Y**2)
Z
= np.sin(R)
ax.plot_surface(X, Y, Z, rstride
=1, cstride=1, cmap='rainbow')
plt.show()

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3970 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.