Hi, I have dataset starting in Febuary 2020 but when I create a chart for some reason the x axis starts on the first of January, so there is a gap between the line and the axis. Any help on how to remove it would be much appreciated!


Code:
twoway line varx1 date_num
and my data is

Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input float(date_num varx2)
21960  .03993094
21961 .028612074
21962 .035981826
21963  .03093639
21964 .023211634
21965  .05790542
21966  .07603507
21967  .08387616
21968   .1548472
21969  .17819597
21970   .3043231
21971  .24888514
21972   .4006798
21973   .6627359
21974   .6639794
21975  1.4217416
21976  1.7526433
21977   1.692854
21978   1.842995
21979  2.2927668
21980   3.126146
21981    3.62297
21982  4.1054153
21983   6.309479
21984   8.616345
21985   8.994414
21986  11.120467
21987  14.858947
21988  15.002494
21989   15.87091
21990  19.247196
21991  17.635626
21992  18.665474
21993  19.430426
21994   22.93767
21995  16.207178
21996  14.968385
21997  18.667145
21998  15.427457
21999  15.471897
22000  13.691607
22001  13.549828
22002   11.70698
22003   9.430447
22004  12.200086
22005   9.846559
22006   12.64052
22007  10.324313
22008    9.74395
22009   8.157842
22010   6.826304
22011   8.218202
22012   6.821047
22013    7.32387
22014   6.679968
22015   6.459072
22016   5.239533
22017  4.6077657
22018   4.909679
22019   4.310663
22020  4.1643333
22021  4.0630765
22022  3.8334265
22023  3.1395385
22024   2.461292
22025  3.1197665
22026  2.5037735
22027   3.111698
22028  2.3318615
22029  2.1955478
22030  1.6780353
22031  1.0646594
22032  1.4131098
22033   1.661886
22034   1.460008
22035  1.4889643
22036  1.4995496
22037   1.194172
22038   .8829122
22039  1.0871441
22040   .5983202
22041   .6902591
22042  .58275956
22043   .6993674
22044   .5696148
22045   .6091068
22046    1.35688
22047  1.0096726
22048  1.0628527
22049  1.0090808
22050   .9965445
22051   .6764844
22052   .7071733
22053   .9780415
22054  1.0201133
22055   .7530233
22056    .749878
22057   .9125931
22058   .7052158
22059   .4717451
end
format %td date_num