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
Exploratory Factor*Analysis - Categorical & Ranked Variables - Post EstimationDear All, I am not from an English speaking background, so kindly excuse if I could not follow any r…
Setting a first time appearance of a certain value in the dataDear Stata Users, Can you please help me to generate new variable called - "first_purchase" equal t…
Can we do a LPA(Latent Profile Analysis) with Stata?Hi all. It could be a stupid question but I am thirsty for the answer. Do we need Mplus for conducti…
How to rank firms into decilesHello, I try to measure investment efficiency in this paper "How does financial reporting quality r…
Destringed variables representing subsectors (Variable representing whole sector is D). Cannot plot even I converted to numericDear all, I destringed (converted from string to numeric) a set of variables that described subsect…
Subscribe to:
Post Comments (Atom)
0 Response to Change font size on x-axis
Post a Comment