# cio' che segue il simbolo # e' un commento set grid # attiva la griglia set samples 100 # numero di punti campionati dal continuo plot [0:6.28] sin(x) pause -1 "Hit return to continue" plot [0:2*pi] sin(x) with impulses pause -1 "Hit return to continue" set xr [0:2*pi] # xrange plot sin(x) with points pause -1 "Hit return to continue" plot sin(x) with linespoints pause -1 "Hit return to continue" set style fill empty plot sin(x) with boxes pause -1 "Hit return to continue" set style fill solid plot sin(x) with boxes pause -1 "Hit return to continue" set samples 25 plot sin(x) with boxes pause -1 "Hit return to continue" set style fill empty plot sin(x) with boxes pause -1 "Hit return to continue" plot sin(x) with boxes title "funzione seno" pause -1 "Hit return to continue" set key bmargin center horizontal plot sin(x) with boxes pause -1 "Hit return to continue" set key tmargin plot sin(x) with boxes pause -1 "Hit return to continue" set key lmargin plot sin(x) with boxes pause -1 "Hit return to continue" set key rmargin plot sin(x) with boxes pause -1 "Hit return to continue" set key tmargin left box plot [0:2*pi] sin(x) with boxes pause -1 "Hit return to continue" set nokey plot [0:2*pi] sin(x) with boxes pause -1 "Hit return to continue" set key right box plot [0:2*pi] sin(x) with boxes pause -1 "Hit return to continue" set key right nobox plot sin(x) with boxes pause -1 "Hit return to continue" set key inside plot sin(x) with boxes pause -1 "Hit return to continue" set key top left plot sin(x) with boxes pause -1 "Hit return to continue" set key top right plot sin(x) with boxes pause -1 "Hit return to continue" set key bottom right plot sin(x) with boxes pause -1 "Hit return to continue" set key bottom left plot sin(x) with boxes