Graph plot working