Adjust distance between x-axis and text in R plot
<p>In the plot below, you probably find the distance between x-aixs and the date (Jan-01-60 to Mar-31-16) is large. </p>

<p><a href="https://i.stack.imgur.com/nVnS2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nVnS2.png" alt="Plot of a time series data"></a></p>

<p>Is there anyway I could make the distance smaller?</p>

<p>Here is my example code:</p>

<pre><code>plot(dates, data, type = "l", lwd = 3, ylab = " ", 
     xlab = " ", col = "gray35", xaxt='n', ann = FALSE)
axis(side=1, at=dates_ten, labels=format(dates_ten, "%b-%d-%y"), las =     
     1, cex.axis=0.5, las = 1, font = 2, tcl = -0.2)
</code></pre>

<p>Many thanks.</p>