plot sin(x) plot sin(x) with points plot sin(x) with linespoints plot sin(x) with lines plot tan(x) show samples set samples 1000 set samples 5000; replot set samples 40; replot set samples 100; replot set samples 1000; replot set yrange [-50:50]; replot set yrange [-60:60]; replot set samples 2000; replot set samples 200 splot x*x-y*y splot x*x-y*y; replot set xrange [-60:60]; replot show isosamples set isosamples 20,20; replot splot x*x-y*y with pm3d set palette gray; replot set palette color; replot # 2*x^3 + 6 x^5 + 5 = p(x) # p(x0) = 0 # exp(x^2+5) = 80 # exp(x^2+5) - 80 = 0 ... => x0 plot 2*x*x*x -50*x - 10 set term qt; replot set xrange [-10:10]; replot x0=-5 print f(x0) a=5; b=-4.5; s="ahoj nazdar" f(x) = 2*x*x*x -50*x - 10 print f(4.5) x0=x0+0.2 print f(x0-0.1) print f(x0+0.1) set terminal pdf; set out "out.pdf" replot splot x*x splot 1-y*y plot 1-x test set out; set term pop reset set term dumb plot sin(x) quit plot 'nova.dat' plot 'exp.dat' load 'fit_lin1.gp'