From d38a2c7546684431788f7b52ff9d843e5b856578 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 Apr 2014 01:04:14 +0200 Subject: add an example designed to break monotonicity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test/cubic_interpolation | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/cubic_interpolation b/test/cubic_interpolation index 83b34b0..f388e04 100755 --- a/test/cubic_interpolation +++ b/test/cubic_interpolation @@ -25,7 +25,8 @@ def main(): add_graph(fig, 221, [i / 15 for i in range(16)]) add_graph(fig, 222, [sin(6 * i / 15) for i in range(16)]) add_graph(fig, 223, [(i / 15) ** 0.5 for i in range(16)]) - add_graph(fig, 224, [random() for i in range(16)]) + #add_graph(fig, 224, [random() for i in range(16)]) + add_graph(fig, 224, [(-1) ** (i // 2) for i in range(16)]) # Show graphs plot.show() -- cgit v1.2.3-70-g09d2