stackedaxes() - an alternative to stackedplot

버전 1.0.0 (465 KB) 작성자: Adam Danz
STACKEDAXES produces stacked plots similar to Matlab's stackedplot() but returns graphics handles allowing the user to modify the plot.
다운로드 수: 241
업데이트 날짜: 2020/11/19

라이선스 보기

STACKEDAXES offers similar but limited syntax to Matlab's stackedplot.

stackedaxes(X,Y), where X is a vector of length n and Y an n-by-m matrix, plots each column in y against X in a vertical stack of m axes, sharing the same x-axis.

stackedaxes(Y) plots each column in Y against its row indices.

[ax, xLine, xText] = stackedaxes(...) returns handles to the axes, the vertical reference line, and the reference textbox that shows the current x-value.

- Specify the y-axis labels with the "DisplayLabels" Name-Value pair.
- Pass any Name-Value pairs to the internal plotting functions.

This function was constructed quickly as part of an answer in the Matlab Forum and does not match the functionality of stackplot.

Tested in Matlab r2016a and r2020b.

인용 양식

Adam Danz (2024). stackedaxes() - an alternative to stackedplot (https://www.mathworks.com/matlabcentral/fileexchange/83053-stackedaxes-an-alternative-to-stackedplot), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

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