【问题标题】:What is the best way to capture output form scilab into a publishable format?将输出形式 scilab 捕获为可发布格式的最佳方法是什么?
【发布时间】:2010-06-11 06:17:30
【问题描述】:

我正在使用 scilab 进行一些简单的模拟。结果会出现一些情节和图表。捕获这些输出并将它们发布到 pdf 或 ps 文件中的最简单方法是什么?

希望我可以将样板代码包含到我的 scilab 脚本本身中吗?

【问题讨论】:

    标签: scilab


    【解决方案1】:

    您可以使用 xs2psxs2epsxs2pdf。例如:

    scf(0);
    x=0:0.01:10;
    for i=1:5
      y=sin(i*x);
      plot2d(x,y);
      filename=sprintf('d:\foo_%d.ps',i);
      xs2ps(0,filename);
      clf();
    end
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-10-29
      • 1970-01-01
      • 1970-01-01
      • 2021-10-03
      • 2015-02-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多