Update makegraph.c