Home
last modified time | relevance | path

Searched refs:pylab (Results 1 – 12 of 12) sorted by relevance

/petsc/src/binding/petsc4py/demo/legacy/perftest/
H A Ddriver.py8 from matplotlib import pylab
10 pylab = None variable
47 pylab.figure(0)
48 pylab.contourf(X,Y,Z)
49 pylab.colorbar()
50 pylab.plot(X.ravel(),Y.ravel(),'.k')
51 pylab.title('z=0.50')
52 pylab.xlabel('x')
53 pylab.ylabel('y')
54 pylab.axis('equal')
[all …]
/petsc/src/binding/petsc4py/demo/legacy/ode/
H A Drober.py80 from matplotlib import pylab
87 pylab.suptitle('Rober')
88 pylab.subplot(2, 2, 1)
89 pylab.subplots_adjust(wspace=0.3)
90 pylab.semilogy(
94 pylab.xlabel('step number')
95 pylab.ylabel('timestep')
98 pylab.subplot(2, 2, i + 2)
99 pylab.semilogx(tt, xx[:, i], 'rgb'[i])
100 pylab.xlabel('t')
[all …]
H A Dorego.py109 from matplotlib import pylab
118 pylab.suptitle('Oregonator: TS \\texttt{%s}' % ts.getType())
119 pylab.subplot(2, 2, 1)
120 pylab.subplots_adjust(wspace=0.3)
121 pylab.semilogy(
125 pylab.xlabel('step number')
126 pylab.ylabel('timestep')
129 pylab.subplot(2, 2, i + 2)
130 pylab.semilogy(tt, xx[:, i], 'rgb'[i])
131 pylab.xlabel('time')
[all …]
H A Dheat.py101 from matplotlib import pylab, rcParams
106 pylab.title('Heat: TS \\texttt{%s}' % ts.getType())
109 pylab.plot(x, u, label='step=%d t=%8.2g' % (i, t))
110 pylab.xlabel('$x$')
111 pylab.ylabel('$u$')
112 pylab.legend(loc='upper right')
113 pylab.savefig('heat-history.png')
/petsc/src/binding/petsc4py/demo/legacy/kspsolve/
H A Dtest_mat_ksp.py29 from matplotlib import pylab
36 pylab.figure()
37 pylab.contourf(X,Y,Z)
38 pylab.plot(X.ravel(),Y.ravel(),'.k')
39 pylab.axis('equal')
40 pylab.colorbar()
41 pylab.show()
H A Dtest_mat_cg.py50 from matplotlib import pylab
57 pylab.figure()
58 pylab.contourf(X,Y,Z)
59 pylab.plot(X.ravel(),Y.ravel(),'.k')
60 pylab.axis('equal')
61 pylab.colorbar()
62 pylab.show()
/petsc/src/binding/petsc4py/demo/legacy/bratu2d/
H A Dbratu2d.py75 from matplotlib import pylab
82 pylab.figure()
83 pylab.contourf(X,Y,Z)
84 pylab.colorbar()
85 pylab.plot(X.ravel(),Y.ravel(),'.k')
86 pylab.axis('equal')
87 pylab.show()
/petsc/src/binding/petsc4py/demo/legacy/poisson3d/
H A Dpoisson3d.py47 from matplotlib import pylab
54 pylab.contourf(X, Y, Z)
55 pylab.axis('equal')
56 pylab.colorbar()
57 pylab.show()
/petsc/src/binding/petsc4py/demo/legacy/taosolve/
H A Dchwirut.py49 from matplotlib import pylab
56 pylab.plot(x, y, 'ro')
57 pylab.plot(u, v, 'b-')
58 pylab.show()
/petsc/src/binding/petsc4py/demo/legacy/bratu3d/
H A Dbratu3d.py188 from matplotlib import pylab
196 pylab.contourf(xx, yy, solution[:, :, nz//2])
197 pylab.axis('equal')
198 pylab.xlabel('X')
199 pylab.ylabel('Y')
200 pylab.title('Z/2')
201 pylab.show()
/petsc/src/benchmarks/
H A DbenchmarkExample.py179 from pylab import legend, plot, show, title, xlabel, ylabel
196 from pylab import close, legend, plot, savefig, show, title, xlabel, ylabel
226 from pylab import legend, plot, savefig, semilogy, show, title, xlabel, ylabel
254 from pylab import legend, plot, savefig, semilogy, show, title, xlabel, ylabel
282 from pylab import legend, plot, show, title, xlabel, ylabel
H A DbenchmarkAssembly.py36 from pylab import legend, plot, show, title, xlabel, ylabel, ylim