title: gnuplot removing outliers when plotting a data file
body: <p>I need to plot a data file of 2 colums using gnuplot, scatter plot is what I need I think. My understanding of gnuplot goes as far as : </p>
  
  <pre><code>plot "first_click" using 2:1
  </code></pre>
  
  <p>3 lines from head and tail of  my data looks as follows:</p>
  
  <pre><code>1 612856
  3 3840538
  5 5240597
  .
  .
  .
  139845 1
  141101 1
  141584 1
  </code></pre>
  
  <p>I am expecting my scatter plot to show a logarithmic trend, however my data (as most data) has tons of outliers . So I need to do one of two things:</p>
  
  <ol>
  <li>Automatically "zoom" to where most of the data is.</li>
  <li>Automatically prune outliers.</li>
  <li>Provide a predicate for each of the columns to manually prune the data, and perhaps predicates that can take both columns of an entry in scope --e.g., <code>!column1 &gt; x &amp;&amp; ! column2 == 1</code></li>
  </ol>
  
  <p>Precision is not a concern. </p>
  
  <p>At this stage I prefer 1 and 2, but I'd like to see if  option 3 is possible as well since I am a programmer and not a statistician.</p>