|Code Listing by Kevin J. Delaney|
legend_best_fit automatically positions the existing legend inside the axes to avoid covering the plotted data. I think it does a better job than the "Location", "Best" option in "legend" command.
Will position legend inside if it can, return false if it can not.
legend_best_fit(axes_handle, 'adjust y limits', true)
Rounds off a datenum to the nearest second, minute, hour, day, month or year. Zip file includes "units.m" (file 4093) by Henning Ressing.
Example: datenum_round_off(now, 'minute')
Matlab-invoked Perl code which cleans up syntax in Matlab code you may have downloaded or inherited:
1) gets rid of trailing commas in "switch", "case", "if and "else" statements.
Adds a date stamp to a plot which "rolls" like an automobile odometer. Supports a few basic styles like 'mmm-dd-yyyy' and 'dd-mm-yyyy'.
Try "date_odometer_demo" for a quick introduction.
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.