Per title says, I want to draw a line plot and two additional versions of it. More specifically:
- I would like to plot some(preferably a big number of) nodes between the unit interval.
- I want to point to particular nodes via arrows.
- I want to display the clusters of nodes (perhaps by some dashed ellipses)
My best take on the graph has been the following, which I achieved by modifying an example I found on the web. But that's light years away from what I want to achieve.
Code:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{plotmarks}
\begin{filecontents}{div_soft.data}
#NODES
1.33E-02
1.35E-02
2.66E-01
3.99E-01
5.31E-01
6.64E-01
7.97E-01
9.30E-01
\end{filecontents}
\begin{document}
\begin{tikzpicture}[y=.0cm, x=12.5cm,font=\sffamily]
%axis
\draw (0,0) -- coordinate (x axis mid) (1,0);
%ticks
\foreach \x in {0,...,1}
\draw (\x,1pt) -- (\x,-3pt)
node[anchor=north] {\x};
%labels
\node[below=0.8cm] at (x axis mid) {values};
%plots
\draw plot[mark=*, mark options={fill=black}]
file {div_soft.data};
\end{tikzpicture}
\end{document}