add atof of my own

This commit is contained in:
TT 2016-11-30 20:17:55 +09:00
parent 69c41aa57e
commit 4e55ca4f70
4 changed files with 82 additions and 36 deletions

4
plot.c
View file

@ -487,7 +487,7 @@ trace_into_index(int x, int t, int i, float coeff[2])
v = 1 - logmag(coeff);
break;
case TRC_PHASE:
v = 4 + phase(coeff);
v = 4 - phase(coeff);
break;
case TRC_LINEAR:
v = 8 + linear(coeff);
@ -1122,6 +1122,8 @@ draw_cell_all(void)
if (is_mapmarked(m, n))
draw_cell(m, n);
//ui_process();
//if (operation_requested)
// return;
}
// keep current map for update