title: R plotting mean + SD of a continuous data
body: <p>I have some continuous data:</p>
  
  <ul>
  <li>mean_force - 2700 values reflecting a change of my dependent varibale
  through 2700 ms</li>
  <li>sd_force - another 2700 values, a standard deviation of the dependent
  variable through time</li>
  </ul>
  
  <p>I'm plotting mean_force on a graph, like here:</p>
  
  <pre><code>    x=c(1:2700)
      plot(x, mean_force, ty="l", col="blue", ylim=c(-15, 15),
      ylab="force (mN)", 
      xlab='time (ms)',
      lty=1,lwd=3)
  </code></pre>
  
  <p>The question is how can I plot SD as well, the way it was done on the picture below (shaded area around the mean)? Is there any simple way to do it in R?</p>
  
  <p><img src="https://i.stack.imgur.com/a1Ib2.gif" alt="CLICK HERE TO SEE THE PIC"></p>