I'm having a frustrating time automating a change in font for the x-axis using the package profileplot which lets you make a time series graph of a wide dataset.

https://stats.idre.ucla.edu/stata/fa...data-in-stata/

The following code does not allow option labsize on xlabel.
profileplot TX_12 TX_14 TX_16 TX_18 if REGION==1, title(Transplant #) xl(1 "12" 2 "14" 3 "16" 4 "18", labsize(vsmall)) xtitle(Year,size(vsmall)) /*
*/ ytitle(Count , size(vsmall)) yl(0 50 100 150 200, labsize(vsmall)) yscale(range(0 200)) legend(size(vsmall)) by(PROGRAM)

However, this code works fine specifying only the ylabel.
profileplot TX_12 TX_14 TX_16 TX_18 if REGION==1, title(Transplant #) xl(1 "12" 2 "14" 3 "16" 4 "18") xtitle(Year,size(vsmall)) /*
*/ ytitle(Count , size(vsmall)) yl(0 50 100 150 200, labsize(vsmall)) yscale(range(0 200)) legend(size(vsmall)) by(PROGRAM)

Any ideas why I cannot specify an option for the xlabel? Is it because I'm replacing values on the x-axis with text?