I want to horizontally flip a bar graph to combine it to form an age structure graph for each gender. How can I do that?