Problem With Plotting Function With Pgfplots Takagi Function Tex

Problem With Plotting Function With Pgfplots Takagi Function Tex