title: Put one line chart and bar chart in one plot in R (Not ggplot)?
body: <p>how to 
  Combine a bar chart and line in single plot in R (from different data sources)?</p>
  
  <p>Say I have two data sources as:</p>
  
  <pre><code>barData&lt;-c(0.1,0.2,0.3,0.4) #In percentage
  lineData&lt;-c(100,22,534,52,900)
  </code></pre>
  
  <p><strong>Note that they may not be in the same scale.</strong></p>
  
  <p><strong>Can I plot both barData and LineData in one plot and make them good looking ?</strong></p>
  
  <p>I cant use ggplot in this case so this is not a duplicated question..</p>
  
  <p><strong>Something like the following</strong>:<img src="https://i.stack.imgur.com/WOrNB.png" alt="enter image description here"></p>