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
 Add common prefix to all variables (except key variable) when merging dataHi everyone,
I am currently working with panel data. Lets say I have four data sets, each containin… Add common prefix to all variables (except key variable) when merging dataHi everyone,
I am currently working with panel data. Lets say I have four data sets, each containin…
 Xtset Identifier - FE estimationHello Stata Forum,
I am having trouble to understand my identifier and relate with fixed effects es… Xtset Identifier - FE estimationHello Stata Forum,
I am having trouble to understand my identifier and relate with fixed effects es…
 Ordered probit with binary endogeneous explanatory variable: heckprobit vs. opsel vs. generating generalized residuals manuallyHi All,
I want to run an ordered probit model with a binary endogeneous explanatory variable. I have… Ordered probit with binary endogeneous explanatory variable: heckprobit vs. opsel vs. generating generalized residuals manuallyHi All,
I want to run an ordered probit model with a binary endogeneous explanatory variable. I have…
 esttab result table does not provide pseudo r2 (r2_ml) calculated with fitstat...(clogit model)I am running a clogit model and I installed spost13 to get the fitstats for the model.
here is the c… esttab result table does not provide pseudo r2 (r2_ml) calculated with fitstat...(clogit model)I am running a clogit model and I installed spost13 to get the fitstats for the model.
here is the c…
 Comparing prevalenceHi community,
I wish to compare the prevalence of food security among adult males (AGE_VQ_P>=20)… Comparing prevalenceHi community,
I wish to compare the prevalence of food security among adult males (AGE_VQ_P>=20)…
Subscribe to:
Post Comments (Atom)
0 Response to Change font size on x-axis
Post a Comment