Fellow Stata users,
I am using Stata version 15.1. I am trying to reorder the placement and change the subtitle of a graph generated using
The pertinent code for my question is currently written:
This works nicely in returning the following plot:

I have two adjustments I wish to make. First, to reorder the placement of the graphs so that the "Total" graph is in position 1. Second, to rename the "Total" graph with a new subtitle, "All Patients". Are there by_options that could accomplish either of both of these?
Thank you.
I am using Stata version 15.1. I am trying to reorder the placement and change the subtitle of a graph generated using
Code:
graph bar, by
Code:
#delimit ; graph bar dchome mobimp improved_home if ptminutes_cat!=1 & dchome!=. & servicecat!=6, over(freqcat, relabel(1 "1-2" 2 ">2-4" 3 ">4-7" 4 ">7")) by(servicecat, total note("")) ;
I have two adjustments I wish to make. First, to reorder the placement of the graphs so that the "Total" graph is in position 1. Second, to rename the "Total" graph with a new subtitle, "All Patients". Are there by_options that could accomplish either of both of these?
Thank you.
Comment