TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using pgfplots to plot bar charts; when I try to use symbolic labelling for the x coordinates, I get the labels repeating. Any ideas why, the snippet is below.

x tick label style={
/pgf/number format/1000 sep=},
ylabel={Number of Reference Points},
symbolic x coords={1, 2, 3},
legend style={at={(0.5,-0.2)},
legend columns=-1},
bar width=9pt,
nodes near coords,
\addplot coordinates {(1,166) (2,612) (3,130)};
\addplot coordinates {(1,60) (2,612) (3,46)};
\legend{Offline, Online}
\caption{Number of reference points at which Signal Strengths were sampled}
share|improve this question

closed as too localized by zeroth, Kurt, lockstep, Stefan Kottwitz Mar 5 '13 at 18:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add xtick=data otherwise additional ticks are added but since you don't have enough tick labels it's repeated for the missing ones. – percusse Mar 5 '13 at 16:56
@percusse, thanks for that – cobie Mar 5 '13 at 17:04