-rw-r--r-- | examples/anim.lua | 2 | ||||
-rw-r--r-- | examples/nlinfit.lua | 1 |
diff --git a/examples/anim.lua b/examples/anim.lua index 0d1b1828..8047e00e 100644 --- a/examples/anim.lua +++ b/examples/anim.lua @@ -29,7 +29,7 @@ function demo2() local w = 4*exp((j-256)/256) p:clear() local ln = fxline(|x| exp(-0.1*x)*cos(w*x), 0, x1) - p:draw(ln, 'red', {{'stroke'}}) + p:draw(ln, 'red', {{'stroke', width=1.5}}) p:refresh() end end diff --git a/examples/nlinfit.lua b/examples/nlinfit.lua index 3828097f..5a6e20b2 100644 --- a/examples/nlinfit.lua +++ b/examples/nlinfit.lua @@ -133,6 +133,7 @@ function demo2bis() pl = plot('Non-linear fit / A * exp(a t) sin(w t)') pl:addline(xyline(x, y), 'blue', {{'marker', size= 5}}) + pl:show() local function print_state(s) print ("x: ", tr(s.p)) |