Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 446: | Line 446: | ||
kx = parseInt(kx); | kx = parseInt(kx); | ||
ky = parseInt(ky); | ky = parseInt(ky); | ||
- | + | var tli = kx+ky*thisdatax.length; | |
+ | var tri = kx+ky*thisdatax.length+1; | ||
+ | var bli = kx+(ky+1)*thisdatax.length; | ||
+ | var bri = kx+1+(ky+1)*thisdatax.length; | ||
+ | if(!thisdataz[bli]) | ||
{ | { | ||
alert("Porblem!\nkx:" + kx + "\nky:" + ky + "\nkx is a "+typeof(kx) + "\nky is a" +typeof(ky) + "\nindex:" + kx+(ky+1)*thisdatax.length+"\nz:"+thisdataz[kx+(ky+1)*thisdatax.length]); | alert("Porblem!\nkx:" + kx + "\nky:" + ky + "\nkx is a "+typeof(kx) + "\nky is a" +typeof(ky) + "\nindex:" + kx+(ky+1)*thisdatax.length+"\nz:"+thisdataz[kx+(ky+1)*thisdatax.length]); | ||
} | } | ||
- | |||
- | |||
thisz = interp2(thisdatax[kx], | thisz = interp2(thisdatax[kx], | ||
thisdatay[ky], | thisdatay[ky], |
Revision as of 04:45, 26 September 2011