X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=graph.c;h=f855cc935058c8c7d3d8f9edbd962d831bcf9681;hb=a421936992acf0bf71e2e38b938e00030df06054;hp=df419b95aef2770f430c1dc5fce4c68f9c45224f;hpb=7720ede1b637559264d0e2cbfaca0b50d584beb0;p=scdataviz diff --git a/graph.c b/graph.c index df419b9..f855cc9 100644 --- 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); }