(with cygwin on windows)
gnuplot set terminal postscript set output "output.ps" plot 1/log(x) quit ps2pdf output.ps ./acroread output.pdf
plot sin(x**2)
splot [x=-5:5] [y=-5:5] y*sin(x**2)
gnuplot plot sin(x) plot [0:4] sin(x) help set set variable wert set xlabel "X-Achse" set ylabel "Y-Achse" set xrange [0:4] sest yrange [-1:1] plot sin(x) set terminal set terminal postscript set terminal png set output "testplot.png" plot sin(x) Pi=3.1415 set xrange [-1*Pi:2*Pi] a=0.6 plot a*sin(x) func(x)=var*sin(x) var=0.5 plot func(x) ! cat messdaten.txt 1 -5 3 -7 4 set xrange [0:3] set yrange [-10:10] set xlabel "bla" set ylabel "blub" plot "messdaten.txt" usin 1:2 t "Linientitel" replot save "history.gplot" quit load "history.gplot"