# Graph of $f([x])$ according to $f$

If the graph of function $f$ on $[-1,2)$ is the following graph, what's the graph of $y=f([x])$ on the same interval?

What I've tried:

I thought on $[0,2]$ it was a horizontal line like the constant function $f=1$ and on $[-1,0]$ it'd be the same with $f=-1$ but it's wrong.

-
What have you tried? –  lhf Jan 23 '12 at 13:47
@lhf I edited my question, hope it's enough now. –  Gigili Jan 23 '12 at 13:52

Let $g(x)=f([x])$. Then $g(x)=f(-1)$ in $[-1,0)$, $g(x)=f(0)$ in $[0,1)$, $g(x)=f(1)$ in $[1,2)$ and $g(2)=f(2)$.