3.0

3.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 1.48 KB File ID: #26645

datetick2

by Nobuhito Mori

 

11 Feb 2010

This simple script an extension of datetick for plotyy.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
08 Jul 2010 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.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
plot Nobuhito Mori 11 Feb 2010 10:03:34
plotyy Nobuhito Mori 11 Feb 2010 10:03:34
axis Nobuhito Mori 11 Feb 2010 10:03:34
tickmark Nobuhito Mori 11 Feb 2010 10:03:34

Contact us at files@mathworks.com