Modeling2.html
From 2013.igem.org
(Difference between revisions)
Line 202: | Line 202: | ||
point2X = (t[kk] - xMin)*(graphWidth/xLength) + graphxMin; | point2X = (t[kk] - xMin)*(graphWidth/xLength) + graphxMin; | ||
point2Y = - (y[kk] - yMin)*graphHeight/yLength + min; | point2Y = - (y[kk] - yMin)*graphHeight/yLength + min; | ||
+ | if (point2X <= graphxMax) | ||
+ | if (point2X >= graphxMin) | ||
+ | if (point2Y <= min) | ||
+ | if(point2Y >= (min - graphWidth)) | ||
+ | if(point1X <= graphxMax) | ||
+ | if(point1X >= graphxMin) | ||
+ | if(point1Y < min) | ||
+ | if(point1Y > (min - graphWidth)) | ||
+ | line(point1X, point1Y, point2X, point2Y); | ||
Revision as of 22:49, 27 September 2013