title: Scatterplot with R from text file with log scale
body: <p>I have data saved in a text file with couple thousands line. Each line only has one value. Like this</p>
  
  <pre><code>52312
  2
  3
  4
  5
  7
  9
  4
  5
  3
  </code></pre>
  
  <p>The first value is always roughly 10.000 times bigger than all the other values.</p>
  
  <p>I can read in the data with <code>data&lt;-read.table("data.txt")</code></p>
  
  <p>When I just use <code>plot(data)</code> all the data have the same y-value, resulting in a line, where the x values just represent the values given from the data.</p>
  
  <p>What I want, however, is that the x-value represents the linenumber and y-value the actual data. So for the above example my values would be <code>(1,52312)</code>, <code>(2,2)</code>, <code>(3,3)</code>, <code>(4,4)</code>, <code>(5,5)</code>, <code>(6,7)</code>, <code>(7,9)</code>, <code>(8,4)</code>, <code>(9,5)</code>, <code>(10,3)</code>.</p>
  
  <p>Also, since the first value is way higher than all the other values, I'd like to use a log scale for the y-axis.</p>
  
  <p>Sorry, very new to <code>R</code>.</p>