Team:Peking/drawingcurvetest

From 2013.igem.org

(Difference between revisions)
Line 11: Line 11:
<div id="Dear_Profstoy" >
<div id="Dear_Profstoy" >
     <img id="Dear_ProfAxis" src="https://static.igem.org/mediawiki/2013/b/bd/Peking2013_DearProfstoy_Axis.png" />
     <img id="Dear_ProfAxis" src="https://static.igem.org/mediawiki/2013/b/bd/Peking2013_DearProfstoy_Axis.png" />
-
     <canvas id="Dear_ProfsCanvas" height="350px" width="500px">
+
     <canvas id="Dear_ProfsCanvas" height="350px" width="495px">
Your browser does not support the HTML5 canvas tag.
Your browser does not support the HTML5 canvas tag.
     </canvas>
     </canvas>
Line 27: Line 27:
var c=document.getElementById("Dear_ProfsCanvas");
var c=document.getElementById("Dear_ProfsCanvas");
var ctx=c.getContext("2d");
var ctx=c.getContext("2d");
-
var convasheight=c.height, CorXmin=0, CorXmax=500;
+
var convasheight=c.height, CorXmin=0, CorXmax=495;
var Kphi=10; ncI=1;
var Kphi=10; ncI=1;
document.getElementById("KphiShow").innerHTML="Kphi="+Kphi.toFixed(1);
document.getElementById("KphiShow").innerHTML="Kphi="+Kphi.toFixed(1);

Revision as of 11:04, 24 September 2013

Your browser does not support the HTML5 canvas tag.

+

Kphi=

-

+

Kphi=

-