Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import scipy.io
  2. import matplotlib.pyplot as plt
  3. import matplotlib.ticker as mtick
  4. from matplotlib import cm
  5. from mpl_toolkits.mplot3d import Axes3D
  6.  
  7. data = scipy.io.loadmat('test.mat')
  8.  
  9. X = data['X']
  10. T = data['T']
  11. U = data['U']
  12.  
  13.  
  14. fig = plt.figure()
  15. ax = fig.gca(projection='3d')
  16.  
  17. 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