File Exchange

image thumbnail

Faded bar chart

version 1.1 (2.19 KB) by Malcolm McLean
Bar chart add-on that shows the error as a fade-out rather than using error bars.

1 Download

Updated 29 Nov 2014

View License

Errors in bar series are traditionally represented using error bars. However these give a poor visual fix on the data. By fading the bar rather than representing an error by a fixed-length bar, we better represent the uncertainty in the data. In the example, 'cat' and 'fox' catch approximately the same number of rabbits, whilst 'dog' catches more. This is more obvious in the faded representation.
The data is represented by a bar that fades out over the error, using a Gaussian to give the density of pixels. This gives a ragged upper surface, so the eye is not drawn to small differences in mean value.

Cite As

Malcolm McLean (2019). Faded bar chart (https://www.mathworks.com/matlabcentral/fileexchange/32876-faded-bar-chart), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Chad Greene

Nice. A great visual representation of uncertainty.

Hi Malcom,

great effect. I like it.

KR

Jens

Bryan

Very cool

Updates

1.1

Toolbox

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: superbar