Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何绘制函数 f(x) 以便根据 x 的值,一个部分比另一个部分成为一个股票行情?(曲线是有效前沿——投资组合优化)
f[x_] := x^2; Show[ Plot[f[x], {x, -1, 1}, PlotRange -> {{-1, 2}, {-1, 4}}], Plot[f[x], {x, 1, 2}, PlotStyle -> Thickness[.02]] ]