(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 216
下载积分: 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 个回复

  • MATLAB6.0MathHandbook
    MATLAB6.0数学手册,很不错的一本参考手册,包括大部分工具箱函数注释。(MATLAB6.0 Math Handbook, it is a good reference manual, including most Toolbox Notes function.)
    2009-03-18 18:37:48下载
    积分:1
  • csMRIdemo
    本程序包里面代码用matlab编写,有三个demo,分别处理然后用CS重建1维,2维信号,最后一个是对大脑图像做CS重建对比(This package inside the code written in matlab, there are three the demo, be treated separately and then use the CS reconstruction of one-dimensional, two-dimensional signal, the last CS reconstruction compared brain images)
    2012-06-19 10:59:26下载
    积分:1
  • edgdetec
    this program to help you in detection the edge of greylevel image
    2010-09-29 14:47:16下载
    积分:1
  • particle_swarm_optimization
    说明:  使用粒子群算法解决10个城市的旅行商问题 可绘制图形(Use the particle swarm algorithm to solve traveling salesman problem of 10 cities can draw pictures)
    2011-02-25 21:39:51下载
    积分:1
  • NLMS
    自适应滤波中的一个比较有名的方法,为学习者提高编程能力!(matlab adaptive filter!)
    2021-03-18 13:39:20下载
    积分:1
  • Steganalysis
    steganalysis characteristic
    2013-11-05 05:32:34下载
    积分:1
  • Atmosphere
    Atmosphere model for 200km
    2012-08-27 04:42:24下载
    积分:1
  • QAM_gen
    产生正交幅度信号,可以产生16,32,64,128等阶数的信号(QAM signal generlize)
    2013-11-16 09:04:33下载
    积分:1
  • RDWT-enchancement
    image 2d enchancement using redundant discrete wavelet algorithm
    2014-02-05 11:15:58下载
    积分:1
  • Virtual-modems
    调制解调器(即Modem),应用程序编程源码,很好的参考资料。(Modem (ie Modem), application programming source code, a good reference.)
    2014-02-17 16:40:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载