datetick2

This simple script an extension of datetick for plotyy.

You are now following this Submission

The datetick doesn't work well for plotyy due to two different axis properties. This script use for plotyy instead of datetick with one more input as
% haxes = plotyy(x1,y1,x2,y2)
% datetick2('x','mm/dd',haxes);
% or
% datetick2('x',4,haxes);
It basically same to datetick expect additional axes information input.

Cite As

Nobuhito Mori (2026). datetick2 (https://www.mathworks.com/matlabcentral/fileexchange/26645-datetick2), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0