为什么同样逻辑的代码,有的能运行,有的无法运行?
mathematica吧
全部回复
仅看楼主
level 2
2024年01月04日 03点01分 1
level 2
代码分别是:
Plot[Log[Cos[x^2] + Sin[x]], {x, -Pi/4, Pi/4}, GridLines -> Automatic,
Frame -> True, PlotStyle \[RightArrow] RGBColor[0, 0, 1]]
Plot[1/(x^2 + 2 x + 1), {x, -5, 4}, GridLines -> Automatic,
Frame -> True, PlotStyle -> RGBColor[1, 0, 0]]
2024年01月04日 03点01分 2
level 5
服了,真是好陷阱。 \[RightArrow]得出的右箭头和->得出的右箭头虽然看起来一样,却不是同一个东西。如果用“”去分别罩住上述两个右箭头,那么\[RightArrow]的不变,仍是右箭头,而后面一个则自动恢复成"->",中间是两个字符的模样。而\[RightArrow]的右箭头是一个字符
2024年01月04日 07点01分 3
吧务
level 15
参:https://tieba.baidu.com/p/7525935028
2024年01月06日 03点01分 4
1