【问题标题】:Save Plot Options of Mathematica into a single variable将 Mathematica 的绘图选项保存到单个变量中
【发布时间】:2014-04-06 16:47:44
【问题描述】:

如何将 Mathematica 中的众多绘图选项保存到单个变量中

【问题讨论】:

  • 这个? myvar=SetOptions[Plot,PlotStyle->Red]
  • opts = Options[Plot]

标签: plot wolfram-mathematica options


【解决方案1】:

根据this answer

opts = {PlotRange -> All, PlotStyle -> Red};
Plot[x^2, {x, 0, 1}, Evaluate[opts]]

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-08-30
    • 2018-02-27
    • 1970-01-01
    • 1970-01-01
    • 2020-04-10
    • 2013-05-08
    • 1970-01-01
    相关资源
    最近更新 更多