Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 359 Bytes

gnuplot-test.org

File metadata and controls

23 lines (16 loc) · 359 Bytes
reset

set title "Putting it All Together"

set xlabel "X"
set xrange [-8:8]
set xtics -8,2,8


set ylabel "Y"
set yrange [-20:70]
set ytics -20,10,70

f(x) = x**2
g(x) = x**3
h(x) = 10*sqrt(abs(x))

plot f(x) w lp lw 1, g(x) w p lw 2, h(x) w l lw 3