Advice: Bar graphs with log axes rarely make sense

Print this Topic

Using a logarithmic axes on a bar graph rarely make sense.

Prism can make bar graphs with a logarithmic Y axis, but think twice before deciding to make this kind of graph. The point of a bar graph is to let people compare heights or areas of the bars. In most cases, you should try to avoid using a log axis when creating a bar graph.

Examples:

The treated bar in the graph below is four times as tall (and has four times the area) as the control bar. This tells you that the treatment increased the response fourfold. This is very straightforward since the Y axis is linear.

But beware of bar graphs with a logarithmic axis. Since zero cant be shown on a log axis, you need to decide where to begin the axis. A log scale has no logical starting place, so the choice is arbitrary. The graphs below show the same data as the graph above, but with the Y axis beginning at 0.001, 10 or 100.

The relative height of the bars appears to be almost the same in the graph on the left and very different on the graph on the right. The relative heights (or areas) of the bars on a log scale is not informative. Bar graphs with a logarithmic axis can be misleading.

If you do decide to make a bar graph with a logarithmic Y axis, however, Prism makes it easy.

To create a bar graph with a logarithmic Y-axis:

Double-click on the axis to bring up the Format Axes dialog, and choose a log scale. If you need to change the baseline from which the bars are plotted, double-click on any bar to bring up the Format Bars dialog. Go to the Graph Settings tab, and choose a new baseline.



Copyright (c) 2007 GraphPad Software Inc. All rights reserved.
URL: http://www.graphpad.com/help/Prism5/Prism5Help.html?bar_graphs_with_a_log_y_axis.htm