Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}
- \usepackage{pgfplots}
- \usepackage{pgfplotstable}
- \pgfplotsset{compat=newest}
- \begin{document}
- \begin{center}
- %\begin{tikzpicture}
- %\pgfplotstableread{
- %88.41 82.92 2.8193
- %88.401 82.89 2.9286
- %88.38 83.09 2.8977
- %%1 1.9857 2.9523
- %%1 1.9706 2.8329
- %%1 1.9854 2.9093
- %}\datatable
- \begin{tikzpicture}
- \pgfplotstableread{
- 88.41 82.92
- 88.401 82.89
- 88.38 83.09
- %1 1.9857 2.9523
- %1 1.9706 2.8329
- %1 1.9854 2.9093
- }\datatable
- \node [align=center,
- text width=2.15cm, inner sep=0.25cm] at (1.00cm, -0.20cm) {\textsc{Stride:150}};
- \node [align=center,
- text width=2.15cm, inner sep=0.25cm] at (3.00cm, -0.20cm) {\textsc{Stride:300}};
- \node [align=center,
- text width=2.15cm, inner sep=0.25cm] at (5.0cm, -0.20cm) {\textsc{Stride:450}};
- \begin{axis}[
- ybar,
- title style={align=center, yshift=-0.75em},
- title={Analysis of clique-stride},
- ticks=both,
- ytick={0,10,20,30,40,50,60,70,80,90,100.0},
- axis x line = bottom,
- axis y line = left,
- axis line style={-|},
- nodes near coords = \rotatebox{90}{{\pgfmathprintnumber[fixed zerofill, precision=2]{\pgfplotspointmeta}}},
- nodes near coords align={vertical},
- every node near coord/.append style={font=\small, fill=white, yshift=0.55mm},
- enlarge y limits={lower, value=0.1},
- enlarge y limits={upper, value=0.64},
- % enlarge x limits ={.3},
- ylabel style={yshift=-0.75em},
- ylabel={Accuracy},
- xtick=data,
- ymin = 70,
- % ymax = 100,
- ymajorgrids,
- xticklabels={},
- % xticklabels={
- % $2001$,
- % $1000$,
- % $200$,
- % $1000$,
- % $200$,
- % $1000$},
- legend style={at={(0.5, -0.12)}, anchor=north, legend columns=3},
- every axis legend/.append style={nodes={right}, inner sep = 0.2cm},
- x tick label style={align=center, yshift=-0.6cm},
- enlarge x limits=0.1,
- width=7.5cm,
- height=5.5cm,
- ]
- \pgfplotsinvokeforeach {0,...,1}{
- \addplot table [x expr={\coordindex-mod(\coordindex,1)/4}, y index=#1] {\datatable};
- }
- \draw (axis cs:0.61,0) -- ({axis cs:0.61,0}|-{rel axis cs:0.5,1});
- \draw (axis cs:1.42,0) -- ({axis cs:1.42,0}|-{rel axis cs:0.5,1});
- \legend{F1-score\hspace*{8pt}, Topological Measure}
- \end{axis}
- \end{tikzpicture}
- \end{center}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement