Hi all ,
I wonder if its possible change the font type in a graph bar or in a catplot graph to bold font, example:

I wonder if its possible change the font type in a graph bar or in a catplot graph to bold font, example:
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input byte sat int eng float(leave stay female)
4 74 4 1 1
5 91 4 1 1
4 76 4 1 0
4 77 2 0 0
4 70 4 1 0
4 75 2 0 1
4 75 3 1 1
5 83 3 1 1
3 69 3 1 1
5 87 4 1 1
5 89 3 1 0
4 77 3 1 1
3 71 4 1 1
4 72 5 1 0
4 78 3 1 0
5 92 2 0 1
5 79 5 1 1
4 75 3 1 1
5 84 5 1 1
5 85 4 1 1
5 85 4 1 0
5 90 5 1 0
5 87 5 1 0
3 70 4 1 0
5 94 5 1 1
5 89 4 1 1
4 75 3 1 1
5 85 4 1 1
1 42 2 0 1
3 72 5 1 0
5 92 4 1 1
5 94 4 1 0
4 69 4 1 0
5 85 3 1 1
4 78 5 1 0
2 54 3 1 1
5 91 3 1 1
2 53 2 0 0
5 83 3 1 0
4 83 3 1 0
5 84 4 1 0
5 88 4 1 1
5 80 2 0 1
4 77 4 1 1
2 60 3 1 1
4 77 4 1 1
3 65 3 1 0
2 54 3 1 0
5 94 3 1 1
5 95 5 1 1
3 59 5 1 1
4 69 2 0 0
5 74 1 0 1
3 59 4 1 1
3 70 2 0 0
3 69 2 0 1
3 70 3 1 1
5 87 3 1 0
5 93 5 1 1
5 84 3 1 1
3 62 4 1 1
4 73 3 1 1
3 68 4 1 1
4 73 4 1 1
4 79 4 1 1
4 79 1 0 1
2 54 5 1 1
5 77 2 0 0
5 85 4 1 0
5 90 5 1 1
3 69 3 1 0
4 77 5 1 1
2 60 3 1 1
5 78 5 1 1
4 75 4 1 0
3 68 3 1 1
3 60 4 1 1
1 38 3 1 0
1 37 2 0 1
5 93 5 1 0
5 84 4 1 1
3 71 5 1 0
4 81 4 1 1
3 68 3 1 1
4 70 3 1 0
3 63 2 0 1
5 86 3 1 1
4 83 3 1 1
3 65 4 1 0
4 73 3 1 0
5 89 2 0 1
5 85 4 1 1
4 74 3 1 0
4 77 5 1 0
5 75 5 1 1
3 65 3 1 1
5 91 4 1 0
5 87 5 1 1
5 83 5 1 1
5 94 4 1 1
end
label values sat sat
label def sat 1 "Very Dissatisfied", modify
label def sat 2 "Somewhat Dissatisified", modify
label def sat 3 "Neither Satisfied nor Dissatisfied", modify
label def sat 4 "Somewhat Satisfied", modify
label def sat 5 "Very Satisfied", modify
label values leave likely
label def likely 1 "Very likely", modify
label def likely 2 "Somewhat likely", modify
label def likely 3 "Neither likely nor unlikely", modify
label def likely 4 "Somewhat unlikely", modify
label def likely 5 "Very unlikely", modify
label values stay stay
label def stay 0 "Likely to Leave", modify
label def stay 1 "Likely to Say", modify
label values female fm
label def fm 0 "Male", modify
label def fm 1 "Female", modify
*ssc install catplot
catplot female sat, ///
percent(female) ///
var1opts(label(labsize(small))) ///
var2opts(label(labsize(*1.1))) ///
ytitle("Percent of Respondents by Gender", size(small)) ///
title("Job Satisfaction by Gender" ///
, span size(medium)) ///
blabel(bar, format(%4.1f)) ///
intensity(25)

Comment