I have a file with histogram which I want to draw. Here's my code:
\documentclass{report} \usepackage{pgfplots} % for histograms \begin{document} \begin{tikzpicture} \begin{axis}[ height = 0.4\paperheight , width = 0.7\paperwidth ] \addplot [ybar interval, color = black, fill = blue, line width = 0.5mm] table {hist1.data}; \end{axis} \end{tikzpicture} \end{document} Can I set x and y ticks to values in file? Like that (dots are not required): 
File "hist1.data":
1 0.06 3 0.23 5 0.35 7 0.2 9 0.1 11 0.04 13 0.01 15 0 17 0 19 0.01 21 0 I'm sorry if it is duplicated question, but I can't find the answer.
