plot tan(x) plot sin(x) plot sin(x) with line show samples set samples 100 plot tan(x) with linespoints set yrange [-20:20]; replot # exp(x)=24.5 ... exp(x)-24.5 = 0 => x0 # Funkce: 2*x*x*x - 10*x - 5 # tj. x0: p(x0) = 0 # f(x) = 5 ... f(x)-5 = 0 set xrange [-10:10] plot 2*x*x*x-10*x-5 a=5 b=10 print a+b print a+b*0.4 s="ahoj" title "nazdar" set title "nazdar" set title s a=-4 a=-10 load 'test.gp' set samples 400 set isosamples 400 set isosamples 20 set samples 20 set samples 30 set isosamples 30 set isosamples 5 splot x*x-y*y splot x*x-y*y with pm3d set palette gray; replot set palette color; replot set term dumb replot set term dumb ansi set term pdf color portrait; set out 'obr.pdf'; replot set term pdf color; set out 'obr.pdf'; replot plot 'exp.dat' plot 'exp.dat', 2*x+1 plot 'exp.dat', 2*x+1, 3*x+1