I am working on plotting data from an external file. When I use the following code I get the points in the curve joined with lines, however I would like to join them using smooth curves.
\begin{figure}[ht]
\centering
\begin{tikzpicture}
\begin{axis}
[
grid=major,
grid style={dashed,gray!30},
xmin=0,xmax=300,
ymin=375,ymax=475,
xtick={0,50,...,300},
ytick={375,400,...,475}
]
\addplot table [col sep=tab, x=a, y=b] {results/test_data.dat};
\addplot table [col sep=tab, x=a, y=c] {results/test_data.dat};
\end{axis}
\end{tikzpicture}
\caption{Test Plot}
\label{fig:test_plot}
\end{figure}
Following is the expected curve:
Also I cannot increase or decrease the number of data points. Since these are experimental data.
Can anyone suggest me how to achieve this ? I am new to using latex.



smoothoption should work in that case. Could you turn your example into a minimal compilable document (starting from\documentclassand including some dummy data). – Jake May 24 '16 at 14:42.texdocument that includes all the necessary parts (a documentclass, the packages, and example data) to reproduce the problem. – Jake May 24 '16 at 21:48