将Mathematica的绘图选项保存到单个变量中

use*_*180 7 plot wolfram-mathematica options

如何将Mathematica中的众多Plot选项保存为单个变量

Sam*_*der 9

根据这个答案,

opts = {PlotRange -> All, PlotStyle -> Red};
Plot[x^2, {x, 0, 1}, Evaluate[opts]]
Run Code Online (Sandbox Code Playgroud)