This function plots the following diagram of parameterized curves (with default input arguments; the menu on the right part is displayed when moving the cursor on one curve point; then all points belonging to the same path parameter value are marked with a red square):
function plotParameterizedCurve1 extends Modelica.Icons.Function; import Modelica.Units.Conversions.from_deg; import Modelica.Math.sin; import Modelica.Math.cos; input Modelica.Units.NonSI.Angle_deg maxAngle = 300 "Maximum opening angle"; input Integer nPoints(min = 2) = 100 "Number of points"; end plotParameterizedCurve1;