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
New to SSC mbitobit - Bivariate Tobit modelDear all, Thanks to Professor Baum, A new command is available in SSC. -mbitobit-. This command re-a…
Create a new variable based on observations within a groupHello, my dataset is structered the following: clear input float (group_id won_close_dummy loss_cl…
hausman test problemDear all, I am working with panel data and when I use the command: hausman fe re, force, I get the…
Bar Chart PercentilesHello, I plotted a bar graph of the education level agains the mean of the average pay. Because of …
Kolmogorov – Smirnov Test for panel databaseHello! I want to perform the Kolmogorov –Smirnov test to a panel database given that it is a freque…
Subscribe to:
Post Comments (Atom)
0 Response to Change font size on x-axis
Post a Comment