mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-08 12:32:00 +08:00
Documentation updates.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
from SimPEG import TensorMesh
|
||||
|
||||
x0 = np.zeros(2)
|
||||
h1 = np.linspace(.1,.5,3)
|
||||
h2 = np.linspace(.1,.5,5)
|
||||
M = TensorMesh([h1,h2],x0)
|
||||
M.plotGrid()
|
||||
plt.hold()
|
||||
plt.plot(M.gridN[:,0], M.gridN[:,1], 'ks', markersize=10)
|
||||
plt.show()
|
||||
|
||||
Reference in New Issue
Block a user