dlim

버전 1.0.0.0 (1.48 KB) 작성자: Chad Greene
set date limits like they're x limits.
다운로드 수: 402
업데이트 날짜: 2014/1/20

라이선스 보기

DLIM sets xlim using date numbers or date strings as input.

SYNTAX:
dlim([dmin dmax]) sets the x limits for datenumbers dmin and dmax.
dlim(dmin,dmax) sets the x limits for datenumbers or datestrings dmin and dmax.

EXAMPLES:
d = datenum('jan 1, 1990'):1:datenum('dec 31,2009');
y = 2*sin(t2/90)+rand(size(d));
figure
plot(d,y)
dlim('may 5, 1997','june 20, 2004') % <-- The dlim function
datetick('x','mmm-yy','keeplimits')

In the example above, the dlim command could similarly be given by dlim([729515 732118]) or dlim(729515,732118).

인용 양식

Chad Greene (2026). dlim (https://kr.mathworks.com/matlabcentral/fileexchange/45121-dlim), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Oceanography and Hydrology에 대해 자세히 알아보기
태그 태그 추가
도움

도움 준 파일: cbdate

버전 게시됨 릴리스 정보
1.0.0.0