Thanks for entering. I am updating my quest here because I need a place for it.
I look at both the CorePlot and Bezier curve solutions that you proposed with little success.
For corePlot, I can get the graph of the graph from the int array, but I can not find anything related to smoothing the .BTW curve. Here I am using CPScatterPlot with some random number.

as for the Bezier curve, My quest led me to here. It is somehow connected with the implementation of Spline in iOS
CatmullRomSpline *myC = [[CatmullRomSpline alloc] initAtPoint:CGPointMake(1.0, 1.0)]; [myC addPoint:CGPointMake(1.0, 1.5)]; [myC addPoint:CGPointMake(1.0, 1.15)]; [myC addPoint:CGPointMake(1.0, 1.25)]; [myC addPoint:CGPointMake(1.0, 1.23)]; [myC addPoint:CGPointMake(1.0, 1.24)]; [myC addPoint:CGPointMake(1.0, 1.26)]; NSLog(@"xxppxx %@",[myC asPointArray]); NSLog(@"xxppxx2 %@",myC.curves);
and I get the result:
2011-02-24 14:45:53.915 DVA[10041:40b] xxppxx ( "NSPoint: {1, 1}", "NSPoint: {1, 1.26}" ) 2011-02-24 14:45:53.942 DVA[10041:40b] xxppxx2 ( "QuadraticBezierCurve: 0x59eea70" )
I'm not sure how to go from there. Therefore, I am also stuck on this front :(
I looked at GLPaint as the last resource. It uses OpenGLES and uses a soft spot sprite to plot points in an array. I know that this is more like fixing the problem, rather than fixing it. But I think I will share my findings here.
Black is GLPaint and white is old. And the last one is a sketch from the Sketch Book app to compare



I am still trying to do it right, any further suggestion is welcome.
Suwitcha Sugthana Feb 24 2018-11-11T00: 00Z
source share