Hi all,
I'm investigating students' reasons for choosing their study. Toydata example:
As you can see, students can choose multiple reasons. I want to visualise the frequency of each reason, which I'm trying to do as follows:
However, I want to remove the legend and instead have the variables' names written under each bar. I know I can simply use
, but I have no idea how to get the variables' names. Any ideas?
I'm investigating students' reasons for choosing their study. Toydata example:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte(reason1 reason2 reason3 reason4) 1 1 1 1 . 1 1 . . . 1 . 1 1 1 1 1 . 1 . 1 . 1 1 1 1 1 1 . . . . . . 1 . end
Code:
graph bar (count) reason1 reason2 reason3 reason4
Code:
, legend(off)
Comment