Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 402: | Line 402: | ||
{ | { | ||
var thisdataz = $(this).text().split(','); | var thisdataz = $(this).text().split(','); | ||
- | var thisdatax = $('.xdata_3d').text().split(','); | + | var thisdatax = $('.xdata_3d').eq(index).text().split(','); |
var thisdatay = $('.ydata_3d').eq(index).text().split(','); | var thisdatay = $('.ydata_3d').eq(index).text().split(','); | ||
//numxpoints = thisdatax.length; | //numxpoints = thisdatax.length; | ||
Line 448: | Line 448: | ||
alert("Porblem!\nkx:" + kx + "\nky:" + ky); | alert("Porblem!\nkx:" + kx + "\nky:" + ky); | ||
} | } | ||
- | |||
thisz = interp2(thisdatax[kx], | thisz = interp2(thisdatax[kx], | ||
thisdatay[ky], | thisdatay[ky], |
Revision as of 04:31, 26 September 2011