improved graphing and logging format