From 2c10dfc7aa259ad0fd5f3eab8879e870e77fd667 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 Apr 2014 00:44:00 +0200 Subject: m + fix cubic interpolation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test/linear_interpolation | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/linear_interpolation') 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() -- cgit v1.2.3-70-g09d2