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?
Related Posts with Change font size on x-axis
Count function with bysortHello. I'm currently working on the stock market. I have thousands of stocks and their daily returns…
reghdfe level effectsHi, I am running the following model: Code: reghdfe dv dummy1##c.count, cluster(uniqueid) a(i.uni…
Checking duplicates across multiple string variablesI have three different variables: student_name (string), friend_name(string) and school_grade(byte).…
dydx() margins 'not estimable'Hello all I'm doing a difference-in-difference regression with 3 time points (1 pre, and 2 post). M…
Survival analysis for right-truncated dataHello Stata enthusiasts, I would like to fit a parametric (Weibull) or semi-parametric (Cox) durati…
Subscribe to:
Post Comments (Atom)
0 Response to Change font size on x-axis
Post a Comment