Debian Codegraph @

texmf-dist/doc/latex/luatikz/example/plota.lua

raw
1 tikz.within( '*' )
2
3 draw{
4 plot{
5 at = p{ 0, 0 },
6 from = 0,
7 to = 5,
8 step = 0.05,
9 func =
10 function( d )
11 return p{ d, math.pow( d - 2.5, 2 ) / 2 }
12 end
13 }
14 }