代码搜索:Plot
找到约 10,000 项符合「Plot」的源代码
代码结果 10,000
www.eeworm.com/read/407519/2262596
py plot.py
from dolfin import *
u = Function("elasticity.xml")
plot(u, mode="displacement", lutfile="VIF.lut")
www.eeworm.com/read/407519/2262622
py plot.py
from dolfin import *
u = Function("poisson.xml")
plot(u)
www.eeworm.com/read/407519/2262642
py plot.py
from dolfin import *
# Plot velocity
u = Function("velocity.xml")
plot(u)
# Plot pressure
p = Function("pressure.xml")
plot(p)
www.eeworm.com/read/407519/2262648
py plot.py
from dolfin import *
# Plot velocity
u = Function("velocity.xml")
plot(u)
# Plot pressure
p = Function("pressure.xml")
plot(p)
www.eeworm.com/read/407519/2262654
py plot.py
from dolfin import *
sigma = Function("sigma.xml")
plot(sigma)
u = Function("u.xml")
plot(u)
www.eeworm.com/read/407519/2262662
py plot.py
# Load mayavi
from mayavi import *
# Plot solution
v = mayavi()
d = v.open_vtk_xml("nonlinear_poisson000000.vtu", 0)
m = v.load_module("BandedSurfaceMap", 0)
# Wait until window is closed
v.master.w
www.eeworm.com/read/407519/2262683
py plot.py
# Import matplotlib
from pylab import *
# Import solution
from solution import *
# Plot first component of solution
subplot(211)
plot(t, u[:,0])
grid(True)
xlabel('t')
ylabel('V(t)')
title('Aliev-Pa
www.eeworm.com/read/407519/2262686
py plot.py
# Import matplotlib
from pylab import *
# Load solutions
from solution_0 import *
(t0, u0, k0) = (t, u, k)
from solution_1 import *
(t1, u1, k1) = (t, u, k)
from solution_2 import *
(t2, u2, k2) = (t
www.eeworm.com/read/407519/2262699
py plot.py
# Import matplotlib
from pylab import *
# Import solution
from solution import *
# Plot solution
plot(t, u[:,0], t, u[:,1])
xlabel('t')
ylabel('U(t)')
title('Harmonic oscillator')
show()
www.eeworm.com/read/407519/2262700
py plot.py
#!/usr/bin/env python
__author__ = "Rolv Erlend Bredesen "
__date__ = "2008-04-03 -- 2008-04-03"
__copyright__ = "Copyright (C) 2008 Rolv Erlend Bredesen"
__license__ = "GNU LGPL Ver