title: Making x-axis tics from column in data file in Gnuplot
body: <p>I have a data file in the following format.</p>
  
  <pre><code>/foo.jsp 1234
  /bar.jsp 6653
  /foobar.jsp 9986
  /bar.jsp 2221
  /foo.jsp 5643
  </code></pre>
  
  <p>I want to plot this file in Gnuplot where the tics on the x axis is taken from the first column and the values on the y axis from the second column. To illustrate I would like the chart to look something like this:</p>
  
  <pre><code>10000    x           x
  5000     x           x          x
  0      /foo.jsp /bar.jsp /foobar.jsp
  </code></pre>
  
  <p>Where the x's are the points in the chart.</p>
  
  <p>The best I have managed to do is:</p>
  
  <pre><code>plot "datafile.dat" using 2:xticlabel(1) with points
  </code></pre>
  
  <p>However, that command repeats the tics for each value in the first column (i.e. I get two /foo.jsp tics on the x axis). I would like there to be one unique tic for each unique string in the first column.</p>