title: How can I make this plot in R? xlim and Date issue
body: <p>First of all, I would like to thank you for your attention. Here it's my problem:</p>
  
  <p>I have a dataframe, this is it's structure (I have deleted some rows):</p>
  
  <pre><code>DATE          PRODUCT      ORIGIN
  11/03/2013      FV         Turkey
  11/03/2013      BMPT       Turkey
  12/03/2013      FV        Hong Kong
  12/03/2013      HAS        Spain
  12/03/2013      NNPS       Turkey
  13/03/2013      MAMP       Poland
  13/03/2013      PDAS       Italy
  13/03/2013      FV         Tunisia
  13/03/2013      FV         Turkey
  13/03/2013      PMPMP      Belgium
  14/03/2013      MAMP       France
  14/03/2013      MAMP       Poland
  14/03/2013      MAMP       France
  15/03/2013      NNPS       United Kingdom
  </code></pre>
  
  <p>I would like to make a plot similar to this:
  <img src="https://i.stack.imgur.com/uuXV2.jpg" alt="enter image description here"></p>
  
  <p>For this I execute this code in R:</p>
  
  <pre><code>cs&lt;-cumsum(table(dataset$DATE))
  plot(cs,type="l",col="blue",ylab="Number of cases")
  </code></pre>
  
  <p>The thing is that I would like that dates appear on the xlim instead of that "Index". I checked what cumsum does:</p>
  
  <pre><code>11/03/2013 12/03/2013 13/03/2013 14/03/2013 15/03/2013 18/03/2013 19/03/2013 
      11         18         30         43         59         80         96 
  20/03/2013 21/03/2013 22/03/2013 25/03/2013 26/03/2013 27/03/2013 
     108        116        132        146        160        164 
  </code></pre>
  
  <p>Number of cases: 164 (Cumulative) 11/03/2013 -> 11, 12/03/2013-> 7 and so on</p>
  
  <p>I tried this:</p>
  
  <pre><code>axis(1, at=1:length(unique(dataset$DATE)), labels=unique(dataset$DATE))
  </code></pre>
  
  <p>But I got this, and I still see the "Index":
  <img src="https://i.stack.imgur.com/uTnBS.jpg" alt="enter image description here"></p>
  
  <p>Is there any way to make a cumulative plot with Dates on xlim?</p>
  
  <p>I hope you understand this question. If not, let me know. Thanks a lot!</p>