projects
/
scdataviz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Making progress on the rework. There are nifty new features coming in.
[scdataviz]
/
graph.c
diff --git
a/graph.c
b/graph.c
index
df419b9
..
647c310
100644
(file)
--- a/
graph.c
+++ b/
graph.c
@@
-209,7
+209,7
@@
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->minor=9;
axis->subminor=0;
axis->major_start=start_mag;
axis->major_step=(stop_mag - start_mag)/(axis->major);