title: How to change the scaling label of date value from numeric format to date format in r when plotting?
body: <p>I used the following code to plot a time series data, but get numeric output in x-axis as '18250'. Does anybody know how to make the x-axis display in date format like '2019-12-01'?</p>
  <pre><code>b &lt;- plot(ts(cum_confirm, start = as.Date('2019-12-01'), frequency = 1))
  </code></pre>
  <p>Output plot:</p>
  <p><a href="https://i.stack.imgur.com/BdWY6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BdWY6.png" alt="Output Plot" /></a></p>