I am creating histogram graphs using pgfplots and tikz. I have used tikz for other figures, but never a graph.
The code I am running is:
\documentclass[oneside,12pt,openany,fleqn]{article}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
ymin=0, ymax=12,
minor y tick num = 3,
area style,
]
\addplot+[ybar interval,mark=no] plot coordinates { (0, 1) (5, 0) (10, 0) (15, 0) (20, 0) (25, 0) (30, 1) (35, 2) (40, 2) (45, 5) (50, 7) (55, 6) (60, 10) (65, 10) (70, 6) (75, 9) (80, 2) (85, 1) (90, 3) (95, 1) };
\end{axis}
\end{tikzpicture}
\caption[A1 Average of Classcraft Participants]{A1 Average of Classcraft Participants}
\label{fig:players-A1-average}
\end{figure}
\end{document}
and the figure looks like the image.
I am very happy with how it looks, all I want is to adjust the scale of the x-axis so that all the numerical values I gave for the x-coordinates are displayed.
Can someone please help with this?
\documentclass{article}
and ending with\end{document}