Bars! Bars! Bars!
Make bar charts rammed full of extra features:
- in full technicolor, with a unique colour for every bar if that's what you're into
- showing errors on the values using errorbars, with many styles available
- with statistical significance of each bar indicated with stars above them
- with statistical significance of comparisons between pairs of bars shown with lines between the pairs and stars above them
- and all this in either horizontal or vertical orientations
Have no fear. Superbar is here!
And that's not all! It comes with a free copy of SUPERERR, which you can use to plot error bars not on bar charts. Plot errors in both X and Y with lots of style options for capped, uncapped, one-directional, symmetric, asymmetric errorbars. It can do everything you want, just as long as what you want is to plot errorbars on a set of linear-linear axes!
If you want to help make SUPERBAR even more super, you can report bugs and suggest new features on GitHub:
https://github.com/scottclowe/superbar
Tested in R2011a (Windows) and R2016a (Windows & Ubuntu).
Citation pour cette source
Scott Lowe (2024). superbar (https://github.com/scottclowe/superbar), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Bar Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Histograms >
Tags
Remerciements
Inspiré par : HERRORBAR, errorbarxy, Enhancement to errorbar() plot, xyerrorbar, BarsWithError, errorbarlog.m, barerrorbar(varargin), plot errorbars on both axes, errorbarlogx.m, barweb (BARgraph With Error Bars), errorbarlogy, errorbar_x, ploterr, Adjust error bar width, bar3color(varargin), Bar- and candle style graph for stocks, Enhanced Errorbar Function, Bar with errorbars, raacampbell/shadedErrorBar, Create Healthy Looking Error Bars, set errorbar width and thickness, Coloured bar chart, barwitherr(errors,varargin), Faded bar chart, 3D Bar Plot with Error Bars, bar_setFaceAlpha, Update error bar widths automatically on figure resize, xerrorbar - Just like errorbar, but for uncertainty in x., MATLAB Plot Gallery - Vertical Bar Plot, MATLAB Plot Gallery - Stacked Bar Chart, MATLAB Plot Gallery - Horizontal Bar Plot, MATLAB Plot Gallery - Errorbar Plot, Plot data with error bars on both x and y axes, hbarerrorbar, pierremegevand/errorbar_groups, errbar, terrorbar.m: Error bars with controlled widths post-R2014b, K_shadedErrorBar(), errorbarxy, orxy(x,y,limx,limy,errx,erry,col,factor), plotyyyerrxy, linebar
A inspiré : errorshade, barmod
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
demos
superbar
tests
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.5.0.0 | - PStarLatex option allows changing whether significance text is rendered using the LaTeX interpreter, with the default now as `'off'`.
|
|
|
1.4.1.0 | - Support for older version of inputParser in R2007a-R2013a with `addParamValue` instead of `addParameter` method.
|
|
|
1.4.0.0 | Added support for cell array colour inputs.
|
|
|
1.3.2.0 | Added README, tutorial, logo.
|
|
|
1.3.1.0 | Add unit tests for SUPERBAR.
|
|
|
1.3.0.0 | When there is no source separation, offset line starts.
|
|
|
1.2.1.0 | Change output shapes of HB, HPT, HPL, HPB to match the shape of Y. |
|
|
1.2.0.0 | - Avoid axes input to text and line fns, supporting <R2016a (tested in R2015b)
|
|
|
1.1.1.0 | Change default orientation of star text for horizontal bars; now normal for single p-values and sideways for pair-wise p-values. |
|
|
1.1.0.0 | Show pairwise comparison lines on horizontally oriented plots. |
|
|
1.0.1.0 | Bug fixes |
|
|
1.0.0.0 |
|