author | Francesco Abbate <francesco.bbt@gmail.com> | 2010年01月02日 21:39:18 +0000 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2010年01月02日 21:39:18 +0000 |
commit | 8e38a45bad58c0e8f53ed76e8bf6f8bf1bd7044f (patch) | |
tree | 9645747e390810e4a77e403b0a35bc0192b1a6ad /examples/fractals.lua | |
parent | 0480a5aa50ce6e588621e88545671f200196fc55 (diff) | |
download | gsl-shell-8e38a45bad58c0e8f53ed76e8bf6f8bf1bd7044f.tar.gz |
-rw-r--r-- | examples/fractals.lua | 5 |
diff --git a/examples/fractals.lua b/examples/fractals.lua index a2236e80..4543a203 100644 --- a/examples/fractals.lua +++ b/examples/fractals.lua @@ -44,8 +44,9 @@ end function levyc(n) local p = plot() local c = ipath(c_generator(n, 4, 1/2, {-1,0,0,1})) - p:add(c, 'red', {{'stroke'}}, {{'rotate', angle= -pi/4}}) - p:add(c, 'red', {{'stroke'}}, {{'translate', x=1/sqrt(2), y=-1/sqrt(2)},{'rotate', angle= pi/4}}) + p:add(c, 'red', {{'stroke', width=0.7}}, {{'rotate', angle= -pi/4}}) + p:add(c, 'red', {{'stroke', width=0.7}}, + {{'translate', x=1/sqrt(2), y=-1/sqrt(2)},{'rotate', angle= pi/4}}) p:show() return p end |