Hi !
I want to create an histogram in Stata.
I can do it but I also want to change the value "0" and "20" on the x axis by strings.
i.e replace '0' with "start" and '20' with "End"
Is there a way to put a string instead of a specific value ?
Here is my code :
Here is a picture to illustrate :

Thanks for your help
Regards
Lionel
I want to create an histogram in Stata.
I can do it but I also want to change the value "0" and "20" on the x axis by strings.
i.e replace '0' with "start" and '20' with "End"
Is there a way to put a string instead of a specific value ?
Here is my code :
HTML Code:
#delimit;
hist myhistogram, discrete
percent
xlabel(0(1)20,
valuelabel
angle(horizontal) labsize(small))
xtitle("My Title");
#delimit cr
Thanks for your help
Regards
Lionel

Comment