title: log scale error in r during barplot
body: <p>I have to plot a barplot in R. Following is the data</p>
  
  <pre><code>mime_doc$FREQ_PCNT
  [1] 97.89  10.19  1.34  3.50  5.01  0.02  0.00  0.04
  &gt; mime_doc$BYTE_PCNT
  [1] 90.72  19.82  0.70  5.64  0.05  0.04  0.01  0.01
  </code></pre>
  
  <p>And following are the commands for barplot</p>
  
  <pre><code>mime_freq = data.frame(mime_doc$FREQ_PCNT, mime_doc$BYTE_PCNT)
  barplot(t(mime_freq), beside = TRUE, col = c('blue','red') log = 'y')
  </code></pre>
  
  <p>It gives following error</p>
  
  <pre><code>Error in barplot.default(mime_doc$FREQ_PCNT, beside = TRUE, col = c("blue",  : 
    log scale error: at least one 'height + offset' value &lt;= 0
  </code></pre>
  
  <p>Where is the problem?</p>