ah:hhvall(h); al:llvall(l);
ahl:=ah-al;
a23:al+ahl*0.236,COLORYELLOW,POINTDOT;
a38:al+ahl*0.382,COLOREE00EE,POINTDOT;
a50:al+ahl*0.50,COLORYELLOW,POINTDOT;
a61:al+ahl*0.618,COLOREE00EE,POINTDOT;
a76:al+ahl*0.764,COLORYELLOW,POINTDOT;
{标注数字}y:=999;
DRAWTEXTREL(500,0,'100% '+ah),COLOREE00EE;
DRAWTEXTREL(500,y*0.236,'76.4% '+a76),COLORYELLOW;
DRAWTEXTREL(500,y*0.382,'61.8% '+a61),COLOREE00EE;
DRAWTEXTREL(500,y*0.50,'50% '+a50),COLORYELLOW;
DRAWTEXTREL(500,y*0.618,'38.2% '+a38),COLOREE00EE;
DRAWTEXTREL(500,y*0.764,'23.6% '+a23),COLORYELLOW;
DRAWTEXTREL(500,y-30,'最低 '+al),COLOREE00EE; |