Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 448: | Line 448: | ||
if(!thisdataz[kx+(ky+1)*thisdatax.length]) | if(!thisdataz[kx+(ky+1)*thisdatax.length]) | ||
{ | { | ||
- | alert("Porblem!\nkx:" + kx + "\nky:" + ky + "\nkx is a "+typeof(kx) + " | + | 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(thisdataz.length); | ||
+ | alert(thisdataz[4]); | ||
thisz = interp2(thisdatax[kx], | thisz = interp2(thisdatax[kx], | ||
thisdatay[ky], | thisdatay[ky], |
Revision as of 04:42, 26 September 2011