Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pgfplotstableread[row sep=\,col sep=&]{
- cvar & percent \
- 0.0 & 168 \
- 0.005 & 188 \
- 0.01 & 159 \
- 0.015 & 87 \
- 0.02 & 49 \
- 0.025 & 0 \
- }data
- begin{figure}[t]
- begin{tikzpicture}
- small
- begin{axis}[
- yticklabel style={
- /pgf/number format/.cd, fixed, fixed zerofill, precision=3, /tikz/.cd
- },
- scaled y ticks=false,
- width=7cm,
- axis lines=left,
- tick label style={font=small},
- xbar interval,
- grid=none,
- ymax=.03,
- xmax=250,
- ytick=data,
- yticklabel interval boundaries,
- y tick label style={font=tiny},
- xmajorgrids,
- nodes near coords,
- every node near coord/.append style={align=right,xshift=5pt,yshift=5pt,font=tiny},
- ]
- addplot[] table[y=cvar,x=percent]{data};
- end{axis}
- end{tikzpicture}
- end{figure}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement