很容易的,eg: unset targetxx unset targetyy set target_x1 = `echo "scale=6;$gPROF_LIMITSxmin + $x_target1"|bc -l` set target_y1 = `echo "scale=6;$gSR_LIMITSymax + 8.5 "|bc -l` set target_x2 = `echo "scale=6;$gPROF_LIMITSxmin + $x_target1"|bc -l` set target_y2 = `echo "scale=6;$gSR_LIMITSymin - 8.5 "|bc -l` set target_x3 = `echo "scale=6;$gPROF_LIMITSxmax - $x_target2"|bc -l` set target_y3 = `echo "scale=6;$gSR_LIMITSymax + 8.5 "|bc -l` set targetxx = ($target_x1 $target_x2 $target_x3) set targetyy = ($target_y1 $target_y2 $target_y3) targetxx和targetyy就是两个数组. |