Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
%% FILE DESCRIPTION
% This m-file plots modified stacked-horizontal-bar-graphs with desired colours of the
% bars. Following conditions are used to set the colour of each bars:
%
% * 0 <Time_Duration<= 255 : White
% * 255 <Time_Duration<= 499 : Light
% * 499 <Time_Duration<= 569 : Medium
% * 569 <Time_Duration <=628 : Dark
%% Idea behind code
%
% * *How bar graph works* _(for a series of data sets)_ :
% Stacked bar graph plots any point of a data set as its cumulative sum. For example, if
% we command to plot 5th point of a data set, the bar graph will add the
% summation of the last four points to it, and only then it will plot the
% point. In this manner, different data points are stacked together.
%
% * *Way the code is written*:
% Every data point is plotted indiviually with its respective colour and
% brought together usnig hold on command.
% Last data point of each series is plotted first. So that other points can
% be plotted to overlap on it. Note: Last point when plotted contanis
% cumulative sum of its preceeding points, this feature is used to plot all
% the data points
Citation pour cette source
Ahteshamul Haq (2026). stacked-horizontal-bar-graphs (https://fr.mathworks.com/matlabcentral/fileexchange/127679-stacked-horizontal-bar-graphs), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0 (2,83 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0 |
