Searched refs:pylab (Results 1 – 12 of 12) sorted by relevance
| /petsc/src/binding/petsc4py/demo/legacy/perftest/ |
| H A D | driver.py | 8 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 D | rober.py | 80 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 D | orego.py | 109 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 D | heat.py | 101 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 D | test_mat_ksp.py | 29 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 D | test_mat_cg.py | 50 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 D | bratu2d.py | 75 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 D | poisson3d.py | 47 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 D | chwirut.py | 49 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 D | bratu3d.py | 188 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 D | benchmarkExample.py | 179 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 D | benchmarkAssembly.py | 36 from pylab import legend, plot, show, title, xlabel, ylabel, ylim
|