for (int i = 2; i < k; i++)
{
if ((tabl1[i].y != null) && (tabl[i].x != null))
{
double[] y2 = { 0, tabl1[i].y };
double[] x2 = { tabl[i].x, 0 };
PointPairList spl3 = new PointPairList(x2, y2);
}
}
我想要什么时候i=3
创建
double[] y3 = { 0, tabl1[i].y };
double[] x3 = { tabl[i].x, 0 };
PointPairList spl3 = new PointPairList(x3, y3);
i=4
然后创建
double[] y4 = { 0, tabl1[i].y };
double[] x4 = { tabl[i].x, 0 };
PointPairList spl4 = new PointPairList(x4, y4);
i=5
然后创建
double[] y5 = { 0, tabl1[i].y };
double[] x5 = { tabl[i].x, 0 };
PointPairList spl5 = new PointPairList(x5, y5);
ETC..