title: how to plot margin and edit in r
body: <p><a href="https://i.stack.imgur.com/Y0dWw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y0dWw.png" alt="enter image description here" /></a></p>
  <pre><code>bins = seq(0,20,by=1)
  hist(A,prob = TRUE,xlim= c(0,20),ylim= c(0,0.2),breaks=20,main=&quot;Frequency Distribution&quot;,xlab=&quot;Frequency&quot;,col=&quot;lightblue&quot;)
  grid(nx = NA, ny = NULL, lty = 2, col = &quot;gray&quot;, lwd = 1)
  </code></pre>
  <p>when i plot this, the margin lost even i zoom. but when i use par(mar=c(2,2)) the second one has margin</p>
  <p>if then how can i edit my code? and edit the plot distance since i have 4 plot and title of plot will overlap x axis</p>