Created
August 16, 2017 06:28
-
-
Save kevingduck/1c08687f933940d94b4d66262bd78687 to your computer and use it in GitHub Desktop.
Simple Plot.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
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') | |
grid(True) | |
show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment