I want to plot a trigonometry function (for example : $\lfloor 2\cos x\rfloor$) using Mathematica. And I want to scaling x axis using multiples of $\pi$ . For example $\frac{\pi}{2}$ , $\pi$ , $\frac{3\pi}{2}$ and $2\pi$. But in the graph doesn't show exact point of roots.
Please Help!