]> git.cworth.org Git - acre/commitdiff
Change test data to go all the way to 100
authorCarl Worth <cworth@cworth.org>
Tue, 27 Jan 2009 08:55:42 +0000 (00:55 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 16 Apr 2009 19:05:07 +0000 (12:05 -0700)
This makes the value 100 appear along the X axis which just looks nicer.

acre-test.c

index bf1a516d83f04d922abb8ef71952cc366d5af269..31192b9f44632eb19fd5c0f9e0fc8d45c14a472e 100644 (file)
@@ -23,7 +23,7 @@ main (void)
 
     acre_data_set_name (data, "Acre test data");
 
-    for (i = 0; i < 100; i++)
+    for (i = 0; i <= 100; i++)
        acre_data_add_point_2d (data, i, 100 - (i/4.0)*(i/4.0));
 
     acre_add_data (acre, data);