# Lines missing in the graph

The code

\pgfplotsset{mystyle/.style={mark=none}}
\begin{figure}[t!]
\resizebox{.4\textwidth}{!}{\begin{tikzpicture}
\begin{axis}[title=QWS Dataset,
legend pos=outer north east,
ytick={0,0.2,...,1},
legend pos=outer north east,
legend style={draw=none},
xtick={0,1,...,10},
scaled ticks=false,
log ticks with fixed point={1000 sep=},
axis x line=bottom,
axis y line=left,
axis line style=-,
minor tick style={draw=none},
ylabel = Fitness,
cycle list={
black,thick,densely dotted\\
blue,densely dashed\\
red,solid\\
},
xlabel = Number of Generations,
every axis legend/.append style={xshift=-10pt}
]
%manman
\legend{FV,FC,TAS}
\end{axis}
\end{tikzpicture}}
\caption{Experiment Results}\vspace{-5mm}
\end{figure}


the graph

I wish to have three lines, but why only two lines are there?

-
Is there any particular reason you specify 10 coordinates for the x axis in each horizontal line? You could change those for something like coordinates{(1,0.1)(10,0.1)} and get the same result. –  jja Mar 1 '13 at 12:27
@william007 Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. –  Jubobs Mar 23 '13 at 21:06

Your third line is there, but it and the x-axis are superimposed, because your y ticks start at 0.1. Setting ymin=0 in the options of your axis environment solves the problem.

\documentclass{article}

\usepackage{pgfplots}

\begin{document}
\pgfplotsset{mystyle/.style={mark=none}}
\begin{figure}[t!]
\resizebox{.4\textwidth}{!}{\begin{tikzpicture}
\begin{axis}[title=QWS Dataset,
legend pos=outer north east,
ytick={0,0.2,...,1},
ymin=0,
ymax=1,
legend pos=outer north east,
legend style={draw=none},
xtick={0,1,...,10},
scaled ticks=false,
log ticks with fixed point={1000 sep=},
axis x line=bottom,
axis y line=left,
axis line style=-,
minor tick style={draw=none},
ylabel = Fitness,
cycle list={
black,thick,densely dotted\\
blue,densely dashed\\
red,solid\\
},
xlabel = Number of Generations,
every axis legend/.append style={xshift=-10pt}
]
%manman