如何在 Mathematica 上纠正 Image Padding cannot be used 错误?
How to correct for Image Padding cannot be used error on Mathematica?
我正在尝试在 Mathematica 11 中绘制以下内容:
Clear["Global`*"]
fN = n * r0^beta);
Plot[fN /. {r0 -> 0.5, beta -> 4}, {n, 0, 12}, PlotRange -> {{0, 12}, {0, 5}}, PlotLabels -> {"r0 = 0.5"}]
当我尝试在没有 PlotLabels
的情况下绘制它时,它运行良好。但是,当我尝试使用 PlotLabels
绘制它时,出现以下错误。
The specified setting for the option GraphicsBoxOptions, ImagePadding
cannot be used.
有什么办法可以解决这个问题?
对我来说没问题...不知道你的问题
Clear["Global`*"]
fN = n*r0^beta;
Plot[{fN /. {r0 -> 0.5, beta -> 2}, fN /. {r0 -> 2.5, beta -> 1},
fN /. {r0 -> 1.5, beta -> 3}}, {n, 0, 12},
PlotRange -> {{0, 12}, {0, 5}},
PlotLabels -> {"r0 = 0.5", "r0 = 2.5", "r0 = 1.5"}]
我正在尝试在 Mathematica 11 中绘制以下内容:
Clear["Global`*"]
fN = n * r0^beta);
Plot[fN /. {r0 -> 0.5, beta -> 4}, {n, 0, 12}, PlotRange -> {{0, 12}, {0, 5}}, PlotLabels -> {"r0 = 0.5"}]
当我尝试在没有 PlotLabels
的情况下绘制它时,它运行良好。但是,当我尝试使用 PlotLabels
绘制它时,出现以下错误。
The specified setting for the option GraphicsBoxOptions, ImagePadding cannot be used.
有什么办法可以解决这个问题?
对我来说没问题...不知道你的问题
Clear["Global`*"]
fN = n*r0^beta;
Plot[{fN /. {r0 -> 0.5, beta -> 2}, fN /. {r0 -> 2.5, beta -> 1},
fN /. {r0 -> 1.5, beta -> 3}}, {n, 0, 12},
PlotRange -> {{0, 12}, {0, 5}},
PlotLabels -> {"r0 = 0.5", "r0 = 2.5", "r0 = 1.5"}]