Datetick with zooming panning and subplots

バージョン 1.0.0.0 (1.94 KB) 作成者: Andrew Bliss
Date formatted tick labels, automatically updated when zoomed or panned.
ダウンロード: 3.8K
更新 2008/6/25

ライセンスがありません

Date formatted tick labels, automatically updated when zoomed or panned. Arguments are identical to those of DATETICK. Allows 2 or more subplots, keeps all of them synched using LINKPROP.

For best results with multiple subplots, call datetick2 from the axis that has the widest range of dates. This functionality could be included, but would probably needlessly bloat the code.

Example:
figure
h(1)=subplot(411);
plot(now:1:now+100,randn(101,1))
h(2)=subplot(412);
plot(now:1:now+10,rand(11,1))
h(3)=subplot(413);
plot(now+20:1:now+30,rand(11,1))
h(4)=subplot(414);
plot(now-5:1:now+5,rand(11,1))
datetick2

引用

Andrew Bliss (2024). Datetick with zooming panning and subplots (https://www.mathworks.com/matlabcentral/fileexchange/20422-datetick-with-zooming-panning-and-subplots), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
謝辞

ヒントを得たファイル: Datetickzoom - automatically update dateticks

ヒントを与えたファイル: cbdate, Datetick Zoom, Pan & Subplot with Day of Year

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0