Mathematica 潇洒“上下”
mathematica 呈现此图的方式是否有任何原因?
ListPlot[
Table[{x, x*01}, {x, -5, 5, .08}],
PlotStyle -> White,
Filling -> 0,
FillingStyle -> {Dashed, Brown}]
虽然图中零边界上方的部分存在虚线,但图的另一部分具有实心填充。
我做错了什么吗?
Is there any reason that underlies mathematica's way of presenting this graph
ListPlot[
Table[{x, x*01}, {x, -5, 5, .08}],
PlotStyle -> White,
Filling -> 0,
FillingStyle -> {Dashed, Brown}]
While the dashing is present for the part of the graph above the zero boundary, another part of the graph has the filling that is solid.
Am I doing something wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有错。 Mathematica 将您的填充样式解释为低于零的
虚线
和高于零的棕色
。您只需要另一对大括号,如下所示:希望有所帮助。
Not that wrong. Mathematica is interpreting your filling style as being
Dashed
below zero andBrown
above. You just need another pair of braces, like so:Hope that helps.