Hi,
I have been looking over my charts and I've noticed that I have a problem with the labels. I'm plotting change in bone mineral density by HIV status over 5 years. I'm attempting to label HIV as HIV- (0) and HIV+(1). When the graph is produced, 0 is renamed as HIV+ and 1 remains without a label. For the year, 0 has no label, 2 becomes Year 2 and 5 remains without a label. Any ideas on how to fix this?
graph box hip_neckbmd ///
, over(hiv, relabel( 0 "HIV-" 1 "HIV+" )) over(year, relabel( 0 "Baseline" 2 "Year 2" 5 "Year 5"))
Thanks,
Amber