I wanted to smoothen the plotted line for the used data or even use an linear extrapolation with or without Gnuplot, has anyone experience there and point me to a direction or reference. Please find attached the used data file.
\documentclass{standalone} \usepackage[T1]{fontenc} \usepackage{pgfplots,pgfplotstable} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis} [ grid =major, % grid style={dashed}, % thick, xlabel= $\lambda/h$, %$\lambda $ \lbrack $ nm $\rbrack % xtick = {3,5,...,31}, % xmax=210, % xmin=20, ylabel=Diffraction Efficiency, % \lbrack a.u.\rbrack,x % yticklabels= , %supress the ylabel numbering ymax=1, ymin=0, mark=none, legend style={ legend pos=north east, font=\tiny } ] \pgfplotstableread{uni-holographic-eff.txt} \teff % effs=efficiencies \addplot[color=blue,mark=none,smooth] table[y=one] from \teff; \addlegendentry{$m = -1$}; \end{axis} \end{tikzpicture} \end{document}
Thx in advance.