::
Ciao a tutti,
mi sto dando al terminale epslatex di GNUplot e devo dire che sono molto soddisfatto, ho già iniziato a produrre qualche grafico tuttavia sono incappato in un problema che non riesco a risolvere, la figura sul file .eps mi occupa solo una parte del file totale lasciando un discreto margine bianco a destra dell’asse y. Perché possiate capire meglio vi riporto di seguito i miei esempi.
epslatex
`
set terminal epslatex
set output 'gatto.tex'
set key bottom right
set format xy '$%g$'
set format y '$%2.0t{\ast}10^{%L}$'
set mxtics 10
set xtics nomirror
set ytics nomirror
set title 'Grafico totalmente inutile'
set xlabel '$\bar{\sigma_{v}}$ (\si{\micro\gram})'
set ylabel '$E (\si{\joule})$'
set label '$R^{2}=0{,}995$' at 40,400
set style function lines
f(x)=m*x+a
fit f(x) 'dati.dat' using 1:2 via m,a
plot 'dati.dat' using 1:2:3 with yerrorbar notitle, 'dati.dat' u 1:2 w linespoints lt 1 lw 2 pt 9 ps 2 title 'Curva sperimentale', f(x) lw 2 title '$y=40{,}302x+23{,}215$'
unset output
`
dati.dat
`0 125 15
15 652 54
30 1300 500
54 2400 20
`
Ovviamente accetto anche altri tipi di suggerimenti, magari riguardo alla sintassi. Sto imparando 🙂