I am aiming to establish a tikzpicture that have two curves, the first curve have the following X and Y values and the second curve have the following X and Y values all the values for both the X and Y axes range from 0 to 1. Now I found this example as a starting point but not sure how to modify it since it assume that the X values is the same for both curves and only Y axis differs. Is there a way to achieve my needs?
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{pgfplots}
\pgfplotsset{width=10cm,compat=1.14}
%enter the data sets as follows.
\begin{filecontents}{thu3.dat}
X Splits Part1 Part2
1 Split-1 24 36
2 Split-2 24 34
3 Split-3 22 29
4 Split-4 25 31
5 Split-5 1 1
\end{filecontents}
\begin{document}
\begin{figure}[h!]
\begin{tikzpicture}
\begin{axis}[
axis lines=middle,
ymin=0,
x label style={at={(current axis.right of origin)},anchor=north, below=10mm},
title={\textbf{\textit{Accuracy}}},
xlabel=Time,
ylabel=No. of Channels,
xticklabel style = {rotate=30,anchor=east},
enlargelimits = false,
xticklabels from table={thu3.dat}{Splits},xtick=data]
\addplot[orange,thick,mark=square*] table [y=Part1,x=X]{thu3.dat};
\addlegendentry{Part I}
\addplot[green,thick,mark=square*] table [y= Part2,x=X]{thu3.dat};
\addlegendentry{Part II}
\end{axis}
\end{tikzpicture}
\caption{Comparison between part 1 and part 2 on Thursday}
\end{figure}
\end{document}
Thanks
