This function creates the random style for your plot (as a cell array with one element). Colors iterate over all colors except for white one. One can use it whenever needs to plot many different data sets on the same plot for preliminary purposes.
Usage example:
lineStyle = GetRandomLineStyleForPlot();
plot(t,y, lineStyle{1});
인용 양식
Alexander (2026). GetRandomLineStyleForPlot() (https://kr.mathworks.com/matlabcentral/fileexchange/52653-getrandomlinestyleforplot), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Help Center 및 MATLAB Answers에서 Line Plots에 대해 자세히 알아보기
태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
