File Exchange

image thumbnail

datetick2

version 1.0.0.0 (1.48 KB) by Nobuhito Mori
This simple script an extension of datetick for plotyy.

2 Downloads

Updated 11 Feb 2010

View License

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 (2021). datetick2 (https://www.mathworks.com/matlabcentral/fileexchange/26645-datetick2), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

M.

Perhaps you want to change the name of this file to "datetickyy" or something similar. There is already a "datetick2" file (http://www.mathworks.com/matlabcentral/fileexchange/20422-datetick-with-zooming-panning-and-subplots) which I use frequently. Thanks for writing this script, it should be useful.

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!