Hi All!
I'm trying to make a figure like the one below, that allows me to (1) change color from histogram to histogram and (2) put a few of the labels on the left-hand side under headings. I've been trying to do it with "onewayplot" but I'm not sure I can change the color for each and doesn't allow the "headings" option.
Thanks for any suggestions! Here's some sample code that I've been playing with:
I'm trying to make a figure like the one below, that allows me to (1) change color from histogram to histogram and (2) put a few of the labels on the left-hand side under headings. I've been trying to do it with "onewayplot" but I'm not sure I can change the color for each and doesn't allow the "headings" option.
Thanks for any suggestions! Here's some sample code that I've been playing with:
sysuse auto, clear
onewayplot price, by(foreign) stack ms(oh) msize(small) width(1000) color(red) height(.4)
Comment