Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import scipy.io
- import matplotlib.pyplot as plt
- import matplotlib.ticker as mtick
- from matplotlib import cm
- from mpl_toolkits.mplot3d import Axes3D
- data = scipy.io.loadmat('test.mat')
- X = data['X']
- T = data['T']
- U = data['U']
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- surf = ax.plot_wireframe(X, T, U, rstride=10000,color="black", cstride=1,linewidth=1.5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement