Zoom Adaptive Date Ticks

Make date ticks adapt to zooming
ダウンロード: 3.4K
更新 2016/9/1

ライセンスの表示

編集メモ: This was a File Exchange Pick of the Week

Note that although this piece of code still works with R2014b, the same effect can be achieved by simply using the new datetime data type as first input to plot when running R2014b or newer versions.
%
% zoomAdaptiveDateTicks('on')
% Turns on the automatic adaptation of date ticks
% to user zooming for the current figure window
%
% zoomAdaptiveDateTicks('off')
% Turns off the automatic adaptation of date ticks
% to user zooming for the current figure window
%
% zoomAdaptiveDateTicks('demo')
% Opens a demo figure window to play with

引用

Andreas Krahnke (2024). Zoom Adaptive Date Ticks (https://www.mathworks.com/matlabcentral/fileexchange/15342-zoom-adaptive-date-ticks), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDates and Time についてさらに検索
謝辞

ヒントを与えたファイル: cbdate

Community Treasure Hunt

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

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

Updated license

1.1.0.0

Note for the new R2014b release.

1.0.0.0

Changed the 'demo' feature to not use the 'today' function which only ships with the Financial toolbox but the 'now' function