My Maths Mentor at first explained us the graph of the equation $y=[x]$ which looks like the following
then with a smile on the corner of this mouth he told
"It seems that you have understood the aforesaid graph.Then tell me what will be the equation of the following graph be?"
He gave us two weeks timing.I could not resist so I asked this question here I dont if this graphs are even related?


hint
You can treat the graph as a parametrized curve. choose a parameter $t $ and define $(x(t),y(t)) $ for $t\in [n,n+1] $ and $n\in\{-1,0,1,2,3\} $.