Follow

How can I create a bar chart in Grapher with bars that are stacked and adjacent?

Grapher allows multiple variable bar charts to be stacked, adjacent, or a combination of stacked and adjacent. To create a multi-variable graph that shows some bar chart variables as stacked and other bar chart variables adjacent to a stack of bars, you can use these steps:

 

  1. Click the Graphs | Create | Bar | Vertical Bar Chart command.
  2. Select the data file and click Open. As an example, I am using the Tutorial.dat file located in Grapher's Samples directory. The first bar chart is created.
  3. In the Object Manager, click on the Bar Chart 1 to select it.
  4. In the Property Manager, click on the Plot tab.
  5. Click the Create button next to New plot to add each additional bar chart. Note that all of the bars will be stacked in a single bar initially.
  6. If necessary, change the other bar chart properties for each bar chart.
  7. Click on the Bar Chart Groups tab.
  8. You will see a Group 1 section. Uncheck the bars that should be in the second stacked bar.
  9. Click the Add button next to Add group.
  10. Change the top Groups option to Group 2.
  11. Check the bars in the Group 2 section that should be in the second stacked bar. You now have two stacked bars with multiple variables adjacent to one another.
  12. Repeat steps 9-11 for each additional group.

 

Once all the bars are in the appropriate groups, your graph will look something like:

Grapher bar chart graph showing stacked and adjacent bars
Use Bar Chart Groups to stack some bars and make other bars adjacent to them.

 

Updated October 3, 2016

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.