FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/unit/simple_plot.py at transforms · gitj/matplotlib · GitHub
gitj
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
unit
/
simple_plot.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 235 Bytes
Breadcrumbs
matplotlib
/
unit
/
simple_plot.py
Copy path
File metadata and controls
12 lines (11 loc) · 235 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
import
matplotlib
matplotlib
.
use
(
'Template'
)
from
pylab
import
*
t
=
arange
(
0.0
,
2.0
,
0.01
)
s
=
sin
(
2
*
pi
*
t
)
plot
(
t
,
s
)
xlabel
(
'time (s)'
)
ylabel
(
'voltage (mV)'
)
title
(
'About as simple as it gets, folks'
)
savefig
(
'simple_plot'
)
show
()
Back
|
FazBrowse Home
|
New Git URL