xinyuyuanm

从fig图片导出原始数据:

lh = findall(gca, \'type\', \'line\');

>> xc = get(lh, \'xdata\');
>> yc = get(lh, \'ydata\');
>> x1=xc{1};
>> y1=yc{1};
>> x2=xc{2};
>> y2=yc{2};
可能要执行两遍才成功

设置坐标轴标题和文字大小:
>> xlabel(\'Acknowledged Probe Packet Index\',\'FontSize\',16)
>> ylabel(\'Inter-packet Gaps (us)\',\'FontSize\',16);
>> set(gca,\'FontSize\',16)


打印成论文大小:

>> set(gcf,\'PaperUnits\',\'points\')
>> set(gcf,\'PaperSize\',[680,480])
>> set(gcf,\'PaperPositionMode\',\'manual\')
>> set(gcf,\'PaperPosition\',[0 0 680 480])
>> print(gcf,\'-dpdf\',\'try.pdf\')
>> print(gcf,\'-deps2\',\'try.eps\')

分类:

技术点:

相关文章:

  • 2021-11-25
  • 2021-07-22
  • 2021-12-18
  • 2021-09-17
  • 2022-12-23
  • 2022-01-02
  • 2021-11-21
猜你喜欢
  • 2021-11-30
  • 2021-10-02
  • 2021-11-23
  • 2022-12-23
  • 2021-11-05
  • 2021-12-04
相关资源
相似解决方案