BarTwoYaxis

Version 1.0.0.0 (998 octets) par Shai Shen-Orr
Plots a bar graph with 2 y axes including errorbars
2,8K téléchargements
Mise à jour 24 avr. 2006

Aucune licence

plots a 2 axis bar plot by normalizing values to be from 0 to 1 on both data sets, plotting them as one grouped bargraph, adding 2nd y-axis and then modfying y axis ticks. bar1 & bar2 are column vectors.

If errors is not empty (Expected 2 row vector same size as numbars) than plot errorbars using errorbar function. Idea based on Bolu Ajiboye barweb code (though implemented differently)

Use:
figHandle = BarTwoYaxis(bar1,bar2,[],[],'','','',[])

Will plot a 2 Y axis grouped bar with the bar1 series using the left y axis and the bar2 series using the right one.

Type help BarTwoYaxis to see fuller argument list.

Citation pour cette source

Shai Shen-Orr (2026). BarTwoYaxis (https://fr.mathworks.com/matlabcentral/fileexchange/10839-bartwoyaxis), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP3
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

Inspiré par : barweb (BARgraph With Error Bars)

Version Publié le Notes de version
1.0.0.0