【发布时间】:2014-04-06 16:47:44
【问题描述】:
如何将 Mathematica 中的众多绘图选项保存到单个变量中
【问题讨论】:
-
这个?
myvar=SetOptions[Plot,PlotStyle->Red] -
opts = Options[Plot]
标签: plot wolfram-mathematica options
如何将 Mathematica 中的众多绘图选项保存到单个变量中
【问题讨论】:
myvar=SetOptions[Plot,PlotStyle->Red]
opts = Options[Plot]
标签: plot wolfram-mathematica options
根据this answer,
opts = {PlotRange -> All, PlotStyle -> Red};
Plot[x^2, {x, 0, 1}, Evaluate[opts]]
【讨论】: