plot 2 * floor(x)