max_ampl:=0; max_deg:=0; t:=0; deg:=0; form1.Pie4.Canvas.Stroke.Color:=talphacolors.Lime; form1.Pie4.Canvas.Stroke.Thickness:=1; unit1.path_polar_sector.Clear; unit1.path_polar_sector.MoveTo(PointF(form1.Pie4.Width/2,form1.Pie4.Height/2)); while t<=1 do begin