I have 2 curves on 1 axes. I've been working on how to plot the error between those 2 curves. I want to plot a new error curve on a new axes but I couldn't find the solution for this problem.
Here attached the sample Bézier curve and the circle. If you noticed the red dashed line is the error between those curves. So, I want to plot an error curve based on the differences of this 2 curves.
Cubic1 = {{-1, 0}, {-1, 1.5}, {0, 1.5}, {1, 1.5}, {1,0}};
Print[MatrixForm[Cubic1]]
C1 = Graphics[BezierCurve[Cubic1]];
c = BezierFunction[Cubic1]
pts1 = c /@ Range[1/5, 4/5, 1/5];
pts2 = {Cos[#], Sin[#]} & /@ (Pi Range[4/5, 1/5, -1/5]);
Show[Graphics[{Red, Point[Cubic1], Green, Line[Cubic1]},
Axes -> True], ParametricPlot[c[t], {t, 0, 1}],
ParametricPlot[{{ Cos[t], Sin[t]}}, {t, 0, Pi},
PlotLegends -> "Expressions", PlotStyle -> Orange],
Epilog -> {AbsolutePointSize[6], Red, Point[pts1], Point[pts2],
Dashed, Line /@ Transpose[{pts1, pts2}]}]