summaryrefslogtreecommitdiffstats
path: root/test/linear_interpolation
diff options
context:
space:
mode:
Diffstat (limited to 'test/linear_interpolation')
-rwxr-xr-xtest/linear_interpolation5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/linear_interpolation b/test/linear_interpolation
index ae622cc..140616c 100755
--- a/test/linear_interpolation
+++ b/test/linear_interpolation
@@ -14,13 +14,16 @@ print('Loading matplotlib.pyplot...')
import matplotlib.pyplot as plot
print('Done loading matplotlib.pyplot')
+from math import *
+
def main():
# Create a page with graphs
fig = plot.figure()
# Add graphs
- add_graph(fig, 111, [i / 15 for i in range(16)])
+ add_graph(fig, 211, [i / 15 for i in range(16)])
+ add_graph(fig, 212, [sin(6 * i / 15) for i in range(16)])
# Show graphs
plot.show()