Waterfall Chart

버전 1.0.0.1 (1.8 KB) 작성자: Patrick Kalita
This function shows incremental changes in a vector graphically in as a waterfall chart.
다운로드 수: 1.6K
업데이트 날짜: 2016/9/1

라이선스 보기

A waterfall chart shows the incremental changes between successive elements of a row vector. More information on waterfall charts can be found at:
http://en.wikipedia.org/wiki/Waterfall_chart

This function takes a single row vector as an input. The colors of the bars are determined by the axes' colormap. The first row of the colormap is used for decreasing intervals - red by default. The second row of the colormap is used for increasing intervals - green by default. The third row of the colormap is used for the terminal values - blue by default.

The function returns a structure containing the handles to the patch object which (the bars) and the line objects (the connections between the bars).

An optional input parameter 'width' controls the width of the bars.

Examples:

x = [1 2 4 3 6 5 3];
waterfallchart(x);
waterfallchart(x, 'width', 0.4);

인용 양식

Patrick Kalita (2024). Waterfall Chart (https://www.mathworks.com/matlabcentral/fileexchange/22703-waterfall-chart), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Bar Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.1

Updated license

1.0.0.0