Files
simpeg/docs/examples/mesh/plot_grid.py
T
Rowan Cockett 49ecbc7411 Added sphinx doc support. goto docs and type:
make html

see the wonderful documents!!
2013-08-30 22:41:02 -07:00

13 lines
210 B
Python

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)
mesh = TensorMesh([h1,h2],x0)
mesh.plotGrid()
plt.show()