一系列操作指标趋势结构体数据的函数集. 大部分已经不再使用. 只保留一个指标对齐的函数. 大部分功能函数迁移到 +lnfun.mdPackage里
1.同步多指标趋势数据到统一的时间轴下.
Syntax
[tbs,tSyncTime]=mexSync_tbs_by_minDist(tbs,allowSynWin,minSampleInterval,isFillMissing);
- lines趋势数据批量打印成图片
function status=print_to_png(L,opt) arguments L lnfun.Line opt.trendplot_fcn = @default_trendplot_fcn %绘图函数 opt.layout =[4,3] %绘图布局, 每张图4行3列 12个axes opt.enableParallel = 1 %是否并行 opt.caseagg =[] %是否打印案例信息 opt.graphs =[] %是否打印设备信息 opt.foldername = '' %图片保存目录, 为[]则弹出文件夹选择框 opt.imageformat {mustBeMember(opt.imageformat,{'png','png&fig','test'})}='png&fig' %打印图片格式 opt.post_plot_fcn = @(x,y,z)[] %后绘图函数 opt.istest = 0 % =1是test模式, 只画第一张图, 查看样式. end