title: Plotting Logscale in R's curve()
body: <p>I have a data which I want to plot in cumulative function.</p>
  
  <p>The R code I have is the following:</p>
  
  <pre><code>dat &lt;- read.table("evalues_point.txt" )
  pre.test &lt;- dat$V1
  print (pre.test)
  
  pre.ecdf &lt;- ecdf(pre.test)
  rx &lt;- range(pre.test)
  ry &lt;- max(length(pre.test))
  
  
  curve(length(pre.test)*(1-pre.ecdf(x)), from=rx[1], to=rx[2], col="red", xlim=rx, ylim=c(0,ry))
  </code></pre>
  
  <p>With that code of mine the current plot looks like this (no-log scale).
  How can I modify my code so that it plots log-scale in its Y-axis?</p>
  
  <p>The data can be downloaded <a href="http://www.mediafire.com/?8o0qqy1vg5qs33u" rel="nofollow noreferrer">here</a></p>
  
  <p><img src="https://i.stack.imgur.com/jUsqQ.png" alt="enter image description here"></p>