用mathematica给横轴上的点加标记绘制图形,输出结果出现如下错误,请问该怎么解决?谢谢。。。
输入:Plot[{Sin[\[Pi]*x]},{x,0,3},Ticks\[RightArrow]{{{1/2,"\!\(\*SubscriptBox[\(t\),\(1...
输入:Plot[{Sin[\[Pi]*x]}, {x, 0, 3},
Ticks \[RightArrow] {{{1/2, "\!\(\*SubscriptBox[\(t\), \(1\)]\)"},
1, {3/2, "\!\(\*SubscriptBox[\(t\), \(2\)]\)"},
2, {5/2, "\!\(\*SubscriptBox[\(t\), \(3\)]\)"}, 3}, Automatic}]
输出:Plot::nonopt: Options expected (instead of Ticks\[RightArrow]{{{1/2,Subscript[t, 1]},1,{3/2,Subscript[t, 2]},2,{5/2,Subscript[t, 3]},3},Automatic}) beyond position 2 in Plot[{Sin[\[Pi] x]},{x,0,3},Ticks\[RightArrow]{{{1/2,Subscript[t, 1]},1,{3/2,Subscript[t, 2]},2,{5/2,Subscript[t, 3]},3},Automatic}]. An option must be a rule or a list of rules. >>
输出提示为何意?有什么解决方法?不胜感激.... 展开
Ticks \[RightArrow] {{{1/2, "\!\(\*SubscriptBox[\(t\), \(1\)]\)"},
1, {3/2, "\!\(\*SubscriptBox[\(t\), \(2\)]\)"},
2, {5/2, "\!\(\*SubscriptBox[\(t\), \(3\)]\)"}, 3}, Automatic}]
输出:Plot::nonopt: Options expected (instead of Ticks\[RightArrow]{{{1/2,Subscript[t, 1]},1,{3/2,Subscript[t, 2]},2,{5/2,Subscript[t, 3]},3},Automatic}) beyond position 2 in Plot[{Sin[\[Pi] x]},{x,0,3},Ticks\[RightArrow]{{{1/2,Subscript[t, 1]},1,{3/2,Subscript[t, 2]},2,{5/2,Subscript[t, 3]},3},Automatic}]. An option must be a rule or a list of rules. >>
输出提示为何意?有什么解决方法?不胜感激.... 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询