(ThisprogramplacesdatesontimeaxisasDATETICKandworkswithZOOMandPANasDATETICKZOOMbyChristopheLauwerys.But,italsoshowsthefulldateafterzoomingorpanningbyusingtheticksandtime-axislabel.So,ifyouzoomindowntosecond,youwontloose"when"youare.TheinputargumentsareequaltothoseofDATETICKfunction,butifmorethanoneaxishandleisspecified,theyallwillbeLINKED!Also,someotheroptionsareavailable,forexample,theuseofLOCALLANGUAGEforthemonths(default),ortheuseofanspecificdateformat:DDHH:MMSS.FFFforexample.Besides,sometimeswithDATETICKyoudontgetoptimalresults.Thisprogram(tryto)fixthisproblem.Justuseitaftersomeplotfunctionwithdays(seeDATENUM)inoneofhisaxis(time-axis):t=linspace(0,1)+nowx=rand(size(t))plot(t,x)axistighttlabel<----Enjoyit!Bugsreportsandsuggestionswillbeveryappreciated!) - IMDN开发者社群-imdn.cn">
登录
首页 » matlab » tlabel

tlabel

于 2009-10-05 发布 文件大小:12KB
0 230
下载积分: 1 下载次数: 6

代码说明:

  This program places dates on time axis as DATETICK and works with ZOOM and PAN as DATETICKZOOM by Christophe Lauwerys. But, it also shows the full date after zooming or panning by using the ticks and time-axis label. So, if you zoom in down to second, you won t loose "when" you are. The input arguments are equal to those of DATETICK function, but if more than one axis handle is specified, they all will be LINKED! Also, some other options are available, for example, the use of LOCAL LANGUAGE for the months (default), or the use of an specific date format: DD HH:MM SS.FFF for example. Besides, sometimes with DATETICK you don t get optimal results. This program (try to) fix this problem. Just use it after some plot function with days (see DATENUM) in one of his axis (time-axis): t = linspace(0,1) + now x = rand(size(t)) plot(t,x) axis tight tlabel

文件列表:

license.txt
tlabel.m

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • projekt
    Implement two methods face recognition: PCA and LDA for ORL face base
    2011-01-03 07:43:41下载
    积分:1
  • adj2inc
    convert an adjency to edge list
    2012-10-14 17:22:22下载
    积分:1
  • Commande_Vec
    Vectorial control, MAX STEP SIZE : 0.00001
    2015-04-07 18:20:10下载
    积分:1
  • matlab-M-S
    有关matlab/simulink中m和s函数的模板及实例(Templates and examples about m and s function matlab/simulink)
    2013-01-25 13:56:49下载
    积分:1
  • PlaneTrussElement
    有限元PlaneTrussElement的matlab程序(FEA PlaneTrussElement)
    2013-10-12 23:19:03下载
    积分:1
  • ldpc
    LDPC码仿真,采用peg构造矩阵H,译码为spa。(The code for ldpc simulation under matlab。)
    2015-03-19 12:58:40下载
    积分:1
  • 1.5
    matlab数字图像处理,关于角点特征检测的内容(matlab digital image processing, feature detection on the corner of contents)
    2014-02-24 21:58:33下载
    积分:1
  • Calculating-Leap-Year
    A simple program to calculate leap year and non leap year
    2015-03-24 17:01:30下载
    积分:1
  • BP-and-OMP
    BP和OMP算法的matlab程序,供参考学习。(BP and OMP algorithm matlab program for reference study.)
    2013-05-11 23:28:39下载
    积分:1
  • 3sigma
    该程序采用3 sigma原则剔除粗差,简单易操作。(The MATLAB code use for eliminate gross errors by 3 sigma, and it is easy to run.)
    2020-12-06 13:09:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载