title: How to make the length of y axis longer in histogram in R
body: <p>I have used the following code to generate the histogram. However, I want to make the y axis longer since it is too short, may I know how to do it?</p>
  
  <pre><code>&gt; h&lt;-hist(data, breaks=c(0,1, 2, 3, 4), col="grey",xlim = c(0,4), xlab="",xaxt="n",main="")
  &gt; axis(side=1, at=0.5:3.5, labels=c(1,2,3,4))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rIKVh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rIKVh.png" alt="enter image description here"></a></p>