Update makegraph.c

license