Change x axis from integer-scale to pi-scale

Linking for example one solution by @genkuroki from this other thread.