diff --git a/apps/shared/cartesian_function.cpp b/apps/shared/cartesian_function.cpp index 1e7952f6a..1196cdf29 100644 --- a/apps/shared/cartesian_function.cpp +++ b/apps/shared/cartesian_function.cpp @@ -131,7 +131,7 @@ void CartesianFunction::setPlotType(PlotType newPlotType) { Expression e = expressionClone(); m_model.tidy(); double tMin = newPlotType == PlotType::Cartesian ? -INFINITY : 0.0; - double tMax = newPlotType == PlotType::Cartesian ? INFINITY : 360.0; + double tMax = newPlotType == PlotType::Cartesian ? INFINITY : 2.0*M_PI; setTMin(tMin); setTMax(tMax); recordData()->setPlotType(newPlotType);