Poor identification for the piecewise parametric function

This is my Lagrange interpolation polynomial

Piece Parametric Function Tracing Code

List of function and bad plot arguments

This should be like in this picture, but the color does not matter:
enter the description of the image here