plotdynamics

버전 1.0.0 (2.89 KB) 작성자: Francisco de Castro
Plots the columns of an array vs. time. Designed mostly to plot nicely the output of ode solvers.
다운로드 수: 42
업데이트 날짜: 2019/3/12

라이선스 보기

PLOTDYNAMICS plots the columns of an array vs. time
Designed mostly to plot nicely the output of ODE solvers, particularly for ecological questions, but general in design.
Each column of array 'b' is plotted vs. time 't'. The number of rows of 'b' must be the same as the number of elements of 't'. Grouping can be specified as optional argument. If groups are specified all the columns of the same group will have the same color. Otherwise each column will be plotted in a different color. Time units are assumed to be DAYS. 'b' can be in any unit, but default is g/m^2 (see below to change the label).

Optional arguments:
plotdynamics(t,b,'group',gnames) names of each GROUP in cell array 'gnames'
plotdynamics(t,b,'name',snames) names of each COLUMN in cell array 'snames'. The name will be plotted next to
the maximum value of the series.
plotdynamics(t,b,'year1',y) first year in the x axis (e.g. 1973). Default: 0
plotdynamics(t,b,'marker',s) uses marker 's' for lines/markers (e.g. ':*').
plotdynamics(t,b,'fclear','on') clears figure before ploting. Default 'on'
plotdynamics(t,b,'ytitle',text) uses 'text' for Y axis title. Default 'Biomass (g m^-2)'

Uses function 'brewermap' from Matlab FEX for colors if present.

인용 양식

Francisco de Castro (2025). plotdynamics (https://kr.mathworks.com/matlabcentral/fileexchange/70546-plotdynamics), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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