title: Putting Boxplots on Their Right places n a Graph in R Studio
body: <p>I cannot put the boxplots on their right place on a graph. How can I do that?</p>
  
  <p>I have a data table. I plotted each row of it verses 10 confidence levels. Then I need to make Boxplots for each column and place them on the same range of confidence levels.</p>
  
  <pre><code>## I plotted my data rows verses confidence levels with a loop 
  
  for (i in 1:50){
    QRFcs &lt;- c(99, 97.5, 95, 90, 80, 60, 40, 20, 10, 5) # confidence level
    plot(QRFcs, data_sum[i,], xlab=" Confidence Level", 
         ylab= "Prediction Interval Covrage Probability (PICP)",
         cex.main = 2, main =" Soil Thickness: QRF", ylim=c(0,100))
    par(new=TRUE)
  }
  par(new=TRUE)
  ## Then I tried to boxplot the data columns on the same graph 
  boxplot(data_sum$X10, data_sum$X9, 
          data_sum$X8, data_sum$X7, data_sum$X6, 
          data_sum$X5, data_sum$X4, data_sum$X3, data_sum$X2, data_sum$X1, 
          axes = TRUE, boxlwd = 2, outwex = 5, boxwex = 0.1)
  
  ## But I cannot put the boxplots on the right place
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Oz4hS.png" rel="nofollow noreferrer">it is a plot of table rows vs confidence levels and column boxplots</a></p>