|
Keywords: SigmaPlot Version 8, sigmaplot, version, 8, sigmaplot version 9
SigmaPlot Version ...space two or more separate bar plots on the same graph
There are times where you need to create bar charts of extremely disparate data that requires two separate plots. Spacing these bars correctly can be tricky. The best means is to plot each bar chart at a specific
x-offset value so that when the bar widths are adjusted, the bars will be correctly spaced. Here is an example on how to create a graph as shown above:
1. If you need to plot a grouped bar chart with two axes, you will need to create two bar plots on the same graph. However, if you do that, typically the bars will simply plot on top of each other:

2. To avoid this, you need to use different, numeric X values for each bar chart. In this example, you could enter:
|
A Offset
|
B Offset
|
|
0.8000
|
1.2000
|
|
1.8000
|
2.2000
|
|
as your different X offset numbers. If you pick these as your x data columns for the two different bar charts, you get:

3. This isn't exactly what you want yet. Now you need to go and reduce
the bar widths appropriately. Change the widths of the bars for each plot to 40%, then click Apply.

4. Now change the Fills to the color you want for each plot and click Apply.

5. You're not done yet! You need to label the X axis properly. Double click the axis, and change the Scale so that the Nearest Tick option is unchecked, then click Apply.

6. Go to the Ticks panel, and set the tick increment to Manual, at intervals of Every 1.

7. Finally, go to the Tick Labels panel, and select the original X Category column as the tick labels.

8. Click OK to finish, then double click the legends to edit them as desired.

Back to SigmaPlot FAQ's Page.
|