For some reason the plot generated from this code looks extremely ugly. The two series look like they were hand-painted. I thought the smooth property would help but still the same ugly plot.
\documentclass[8pt]{beamer}
\usepackage{pgfplots}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\begin{axis}[domain=-0.015:1.15,
width=10cm,
scale only axis,
xmin=-0.015,
xmax=1.15,
height=8cm,
axis y line=left,
xlabel=$x_{\alpha}$,
ylabel=$y_{j}$]
\addplot [id=logit,color=blue,thick,smooth,mark=x] coordinates {(-0.0148,-1.56862) (0.02902,-3.28582)(0.06382,-3.28582)(0.12780,-2.56495)(1.13767,-3.33220)};
\end{axis}
\begin{axis}[domain=-0.015:1.15,
width=10cm,
scale only axis,
xmin=-0.015,
xmax=1.15,
height=8cm,
axis y line=right,
axis x line=none,
ylabel=$\tau_{j}$]
\addplot [id=txdef,color=green,thick,smooth,mark=*] coordinates {(-0.0148,0.17241) (0.02902,0.03571)(0.06382,0.03571)(0.12780,0.07143)(1.13767,0.03448)};
\end{axis}
\end{tikzpicture}
\end{frame}
\end{document}


!in front of it to turn it into a link. A moderator or another user with edit privileges can then reinsert the!to turn it into an image again. – Tobi Feb 11 '14 at 13:38smoothcreates that curvature. – Torbjørn T. Feb 11 '14 at 18:44smoothyou'll get straight lines between points, does that not happen for you? – Torbjørn T. Feb 11 '14 at 19:23tension. For example, trysmooth,tension=0.1. – Torbjørn T. Feb 11 '14 at 21:50