mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
1 parent
c5c28eb05b
commit
4c523af1ab
5 files changed
+224
No files matched your search
@@ -0,0 +1,19 @@
|
||||
set terminal pngcairo enhanced
|
||||
set output "/tmp/polynomial.png"
|
||||
|
||||
set grid
|
||||
|
||||
set xrange [-5:5]
|
||||
set yrange [-5:10]
|
||||
|
||||
set samples 10000
|
||||
|
||||
set key bottom right
|
||||
|
||||
f(x) = 1.0 / 14.0 * ((x+4) * (x+1) * (x-1) * (x-3)) + 0.5
|
||||
|
||||
plot \
|
||||
f(x) title "polynomial of degree 4" \
|
||||
with lines \
|
||||
linewidth 2 \
|
||||
linetype rgb '#0077ff'
|
||||
Reference in new issue
Block a user