diff options
Diffstat (limited to '')
-rwxr-xr-x | test/linear_interpolation | 5 |
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() |