我想在同一个系统中绘制Sin和Cos函数。
但这段代码
Plot[{Sin[x], Cos[t]}, {x, 0, 5}, {t, 0, 6}]导致此错误:Plot::nonopt: "Options expected (instead of {t,0,5}) beyond position 2 in Plot[{Sin[x],Cos[t]},{x,0,5},{t,0,5}]. An option must be a rule or a list of rules"
发布于 2015-04-12 14:54:25
根据文档,所有函数都必须使用相同的变量x。
发布于 2021-01-06 12:58:22
Show[Plot[Sin[x],{x,0,5}], Plot[Cos[t],{t,0,6}]]
https://stackoverflow.com/questions/29590773
复制相似问题