{{ stepNode.name }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount}} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount}} |
| {{ 'ml-lesson-time-estimation' | message }} |
Tina (Diskussion | bidrag) | Jonas (Diskussion | bidrag) | ||
Rad 18: | Rad 18: | ||
var p3 = b.point(p2.X() + xdist,0); | var p3 = b.point(p2.X() + xdist,0); | ||
var p4 = b.point(p2.X() - xdist,0); | var p4 = b.point(p2.X() - xdist,0); | ||
− | / | + | /* var p3 = b.point(p1.X(),0,{fixed:false}); */ |
function func(x){ | function func(x){ | ||
Rad 41: | Rad 41: | ||
return 22; | return 22; | ||
}],{strokeWidth:2,doAdvancedPlot:false,numberPointsLow:100,numberPointsHigh:100}); | }],{strokeWidth:2,doAdvancedPlot:false,numberPointsLow:100,numberPointsHigh:100}); | ||
− | / | + | /* graph.updateCurve(); */ |
var flyttaMig = b.textA(-1.6,0.85,'<translate><!--T:36--> Dra mig!</translate>',{anchor:p1}); | var flyttaMig = b.textA(-1.6,0.85,'<translate><!--T:36--> Dra mig!</translate>',{anchor:p1}); | ||
Rad 101: | Rad 101: | ||
p2.setAttribute({fillcolor:mlg.red}); | p2.setAttribute({fillcolor:mlg.red}); | ||
if (Math.abs(p1.Y()) < 0.05) { | if (Math.abs(p1.Y()) < 0.05) { | ||
− | mSign = Math.sign(p1.Y()); | + | var mSign = Math.sign(p1.Y()); |
if (mSign == 0) { | if (mSign == 0) { | ||
mSign = 1; | mSign = 1; |