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

  • PCA-Matlab-CODE
    主成分分析源代码,有详细说明,中文详细说明(Principal Component Analysis Matlab CODE)
    2012-09-06 17:38:44下载
    积分:1
  • bfgs4
    bfgs optimization method
    2013-12-01 03:59:20下载
    积分:1
  • noise
    使用MAtlab语言,在一幅图像中添加各种噪声,比如:椒盐噪声,高斯噪声,均匀,指数,对数,厄尔等噪声。(Using Matlab language, to add a variety of noise in an image, such as: salt and pepper noise, Gaussian noise, uniform, exponential, logarithmic, El noise.)
    2013-05-18 08:32:08下载
    积分:1
  • ejemplo2
    QPSK modulation in matlab
    2009-03-24 23:43:42下载
    积分:1
  • KronD
    Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k. A very simple function with only a single if-else statement. Saves a bit of typing when the Kronecker Delta is needed.
    2010-01-27 20:45:55下载
    积分:1
  • pca
    主元分析的matlab源代码,对于一个样本空间可以获得其主元成分(Principal component analysis, Matlab source code for a sample space to obtain the main element composition)
    2012-07-05 09:13:05下载
    积分:1
  • statistic-signal
    统计信号检测与估值的课件资料 浅显易懂包括如何用统计的方法检测出信号频谱的存在并估计出来(Courseware statistics signal detection and valuation easy to understand)
    2015-04-17 11:11:35下载
    积分:1
  • SpatialMultiplexing_OpenLoop_Mode3
    说明:  空间多路复用开环模式3,亲测无误,代码赴注释(spatialmultiplexing_openloop_mode3)
    2020-03-24 10:57:59下载
    积分:1
  • TSPSAwithmatlab
    TSP 问题模拟退火算法的matlab示例(TSP simulated annealing algorithm matlab example)
    2009-04-10 21:33:28下载
    积分:1
  • sc
    说明:  MATLAB编写的图形色彩绘制程序,功能十分强大(Written in MATLAB graphics color drawing program, a very strong function)
    2009-11-18 00:01:31下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载