I've done a plot with pgfplots
with this code
\begin{figure}[!ht]
\resizebox{\textwidth}{!}{
\begin{tikzpicture}
\begin{semilogyaxis}[scale only axis, xmin=-20, xmax=200, ymin=0.01,
ymax=20, xlabel={Temperatura [°C]}, ylabel={Pressione [bar]},
,legend style={draw=none,at={(.99,.1)},anchor=south east},log ticks with
fixed point ]
\addplot[only marks, mark=*] table[x=t_mean,y=p_mean]
{capitolo6/grafici_6/tensione_vapore.txt};
\addplot[thick,black,mark=none] table[x=t_fit,y=p_fit]
{capitolo6/grafici_6/tensione_vaporeFIT.txt};
\legend{Valori misurati,Curva di riferimento}
\end{semilogyaxis}
\end{tikzpicture}
}
\end{figure}
Now, i want to add a text box above the legend to write an equation, do you know the way to do this?
thank you