代码搜索:Plot
找到约 10,000 项符合「Plot」的源代码
代码结果 10,000
www.eeworm.com/read/349580/3142709
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/349580/3142712
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/349580/3142724
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/349580/3142727
py plot.py
# Import matplotlib
from pylab import *
# Import solution
from solution import *
# Plot solution
figure(1)
plot(t, u[:, 0], t, u[:, 1], t, u[:, 2])
xlabel('t')
ylabel('U(t)')
title('Lorenz')
show()
www.eeworm.com/read/349580/3142730
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('Courtema
www.eeworm.com/read/349580/3142735
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('Complex exponential')
show()
www.eeworm.com/read/349580/3142745
py plot.py
# Import matplotlib
from pylab import *
#--- Test problem 1 ---
from solution_1 import *
figure(1)
plot(t, u)
#--- Test problem 2 ---
from solution_2 import *
figure(2)
plot(t, u[:,0], t, u[:,1])
#
www.eeworm.com/read/349580/3142761
py plot.py
from dolfin import *
mesh = Mesh("mesh2D.xml.gz")
mesh_function = MeshFunction("real", mesh, "meshfunction.xml")
plot(mesh_function)
www.eeworm.com/read/349580/3142895
h plot.h
// Copyright (C) 2007 Anders Logg.
// Licensed under the GNU LGPL Version 2.1.
//
// First added: 2007-05-02
// Last changed: 2007-05-07
#ifndef __PLOT_H
#define __PLOT_H
#include
#include
www.eeworm.com/read/349580/3142898
cpp plot.cpp
// Copyright (C) 2007 Anders Logg.
// Licensed under the GNU LGPL Version 2.1.
//
// First added: 2007-05-02
// Last changed: 2007-06-13
#include
#include
#include