fixed example to center the graph