* Axes work for what I have implemented thus far.
[scdataviz] / graph.c
diff --git a/graph.c b/graph.c
index df419b9..f855cc9 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -209,8 +209,8 @@ struct graph_axis* autoset_axis(Graph* g, GString* title, double min, double max
       stop_mag = copysign(pow(10, ceil(log10(max))), max);
     if(stop_mag == start_mag) stop_mag *= 10;
     axis->major=10;
-    axis->minor=0;
-    axis->subminor=0;
+    axis->minor=9;
+    axis->subminor=9;
     axis->major_start=start_mag;
     axis->major_step=(stop_mag - start_mag)/(axis->major);
   }