% this is an example of an automatically-generated MATLAB script pts1 = [153.500000,155.500029,158.500000; -200.692000,-199.499982,-197.606200]; cs1 = cscvn(pts1); pts2 = [152.000000,150.000000,147.500019,146.000002,142.500000,140.886637,138.999999; -201.889600,-203.000000,-204.731587,-205.999998,-208.698600,-210.188333,-212.000001]; cs2 = cscvn(pts2); pts3 = [211.499998,208.999744,205.999097,202.992773,199.984159,196.499975,193.500000,192.000000,189.274117,185.999879,183.000000,181.000000; -174.500000,-174.964482,-175.927097,-176.932234,-178.007921,-179.500013,-181.086500,-181.672400,-182.764028,-184.011652,-185.000000,-185.738800]; cs3 = cscvn(pts3); pts4 = [169.500000,168.000000,167.201600,167.940183,168.667201,169.693200,170.721200,171.729201,172.500001,173.880501,174.690000,174.999997,175.499997,175.621600,175.883996,175.999952,177.019000,179.000000; -234.748500,-233.000000,-230.000000,-227.024905,-224.999998,-221.999999,-218.999999,-215.999996,-212.499998,-208.499998,-205.500000,-204.000013,-201.500014,-199.000000,-196.000041,-193.001487,-189.500000,-187.000000]; cs4 = cscvn(pts4); pts5 = [175.952800,176.074285,176.328206,176.598474,177.049423,177.323850,177.495687,177.498766,177.500000,177.764300,178.205597,178.456600,178.499992,178.544855,179.000000,180.500000,183.013169,186.000003,189.000000,190.807153,192.506239,195.500000,199.000000,201.995960,205.000000,208.000015,210.500000,212.999999,214.209233,217.000001,220.015844,223.000000,225.994078,228.499986,234.351460,234.355820,234.342744,234.348870,235.396932; -146.000001,-148.997084,-151.994034,-154.499759,-157.447778,-159.330347,-161.446855,-162.912748,-165.500000,-168.500000,-170.999982,-173.499999,-176.499394,-180.143923,-184.000000,-184.500000,-184.995986,-184.011600,-182.885600,-182.067683,-181.496881,-179.958500,-178.352800,-177.168858,-176.184400,-175.199196,-174.500000,-173.599600,-173.159623,-172.115600,-170.994423,-170.142000,-170.000229,-171.499992,-174.850736,-174.847548,-174.857111,-174.852630,-174.086067]; cs5 = cscvn(pts5); pts6 = [179.499830,178.500055,178.535615,178.601217; -184.524978,-180.500257,-177.999868,-177.429419]; cs6 = cscvn(pts6); pts7 = [215.523718,214.063500; -176.999688,-174.500000]; cs7 = cscvn(pts7); pts8 = [214.000000,216.987924,220.015844,223.000000,225.994078,228.499986,234.351460,234.355820,234.342744,234.348870,235.396932; -173.543200,-172.121106,-170.994423,-170.142000,-170.000229,-171.499992,-174.850736,-174.847548,-174.857111,-174.852630,-174.086067]; cs8 = cscvn(pts8); pts9 = [172.000011,175.000000,177.994327,180.500000,183.000000,185.985470,188.964655,190.181367,193.000000,195.999436,198.999353,201.500143,204.500009,208.000000,208.037000,207.441600,207.104772,205.904000,205.434568,204.192999,203.000000,202.653578,201.743200,201.261197,201.188236,200.398799,199.500000; -235.621198,-235.035600,-234.655070,-234.500000,-233.845600,-233.678656,-233.649533,-233.641408,-233.608000,-233.569607,-233.567201,-233.499944,-232.177496,-230.000000,-227.500002,-226.000000,-224.862488,-222.000000,-220.344087,-216.999997,-214.000000,-213.016041,-210.000000,-206.999969,-206.381689,-202.999996,-199.499996]; cs9 = cscvn(pts9); pts10 = [141.000001,142.129232,145.000000,146.499978,150.000000,151.499998,153.500000,155.999995,159.000001,162.000001,165.000001,167.500000,169.999999; -247.477799,-247.000819,-245.515800,-244.790811,-243.449800,-242.500001,-241.500000,-240.729202,-239.701200,-238.766000,-237.654000,-236.500000,-235.939600]; cs10 = cscvn(pts10); pts11 = [146.000002,148.499981,151.000000,152.499999; -207.545799,-205.339718,-202.821600,-201.500001]; cs11 = cscvn(pts11); fnplt(cs1, 2) hold on fnplt(cs2, 2) hold on fnplt(cs3, 2) hold on fnplt(cs4, 2) hold on fnplt(cs5, 2) hold on fnplt(cs6, 2) hold on fnplt(cs7, 2) hold on fnplt(cs8, 2) hold on fnplt(cs9, 2) hold on fnplt(cs10, 2) hold on fnplt(cs11, 2) hold on axis([0 400 -400 0]), title('fiala_014_170421_FINAL_SMOOTH'), grid on; filename = '\Users\PJF\PycharmProjects\cv_projects\vectorized\fiala\fiala_014_170421_FINAL_SMOOTH_NATURAL.png'; saveas(gcf,filename)