Faded bar chart
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.
Zitieren als
Malcolm McLean (2024). Faded bar chart (https://www.mathworks.com/matlabcentral/fileexchange/32876-faded-bar-chart), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Annotations >
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Bar Plots >
Tags
Quellenangaben
Inspiriert: superbar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1 | Toolbox |
|
|
1.0.0.0 |