for (int i = 0; i <= chishu - 1; i = i + 1)//左齿面
{
gh.TranslateTransform(-pictureBox1.Width / 10, 0);//平移x,y位置,右移
for (int j = 0; j <= dianshu - 1; j = j + 1)
{
ZhuanHuanZhi[j] = j;
float x1_L = (float)(A_ChiXingCeDianXiangDuiHuChang_L[i, j]*1000);
float y1_L = (float)(pictureBox1.Height * ZhuanHuanZhi[j] / 32);
points.Add(new PointF(x1_L,y1_L));
arrX[j] = A_ChiXingCeDianXiangDuiHuChang_L[i, j]*1000;//啮合点
arrY[j] = pictureBox1.Height * ZhuanHuanZhi[j] / 32;//啮合点
gh.DrawEllipse(p1, x1_L, y1_L, 1, 1);//小圆点
//gh.DrawLines(p2, points.ToArray());//连接多条直线,蓝色
}
gh.DrawLines(p2, points.ToArray());//连接多条直线,蓝色![图片说明](https://img-ask.csdn.net/upload/201505/25/1432538736_237602.png)