################################# # plotmaker.txt ################################# # help on gnuplot http://gnuplot.sourceforge.net/demo/ # Terminal set terminal epslatex standalone newstyle color # Nom de sortie set output 'figure.tex' # Légende (longueur du trait et position) set key samplen 3 set key top left # Axis range set xrange [-3:3] set yrange [0:10] # Axis definition set xlabel '$ x $' set ylabel '$ f(x) $' # Line style definition el=5 set style line 1 lt 1 lc rgb "black" lw el set style line 2 lt 2 lc rgb "red" lw el set style line 3 lt 3 lc rgb "#FF8C00" lw el set style line 4 lt 4 lc rgb "gold" lw el set style line 5 lt 5 lc rgb "#32CD32" lw el set style line 6 lt 6 lc rgb "purple" lw el set style line 7 lt 7 lc rgb "blue" lw el set style line 8 lt 8 lc rgb "grey" lw el # plot command plot x w l ls 1 title '$x$',\ x**2.0 w l ls 2 title '$x^2$',\ 1.0/x w l ls 3 title '$\frac{1}{x}$' # Fermeture du fichier (important!) set output #################################