【问题标题】:Changing Symbol/Marker Outline Width in Julia Using PyPlot使用 PyPlot 在 Julia 中更改符号/标记轮廓宽度
【发布时间】:2019-09-13 18:16:32
【问题描述】:

我正在尝试使用 PyPlot 后端在 Julia 的散点图中更改符号(标记)的轮廓。我已经尝试过edgecoloredgewidthedgelinewidthmarkercolormarkerwidthmarkerlinewidth 以及来自各种来源的各种其他键/值,但 Julia/PyPlot 不识别这些。如何使用 PyPlot 后端在 Julia 中执行的散点图中更改符号/标记的轮廓?

【问题讨论】:

    标签: matplotlib julia line marker outline


    【解决方案1】:

    在使用 PyPlot 后端的 Julia 中,操作符号/标记轮廓的正确键是 markerstroke...。例如,markerstrokewidth=1 将标记的轮廓设置为 1px,而markerstrokecolor="red" 将标记的轮廓颜色设置为红色。我希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-16
      • 2014-06-16
      • 2010-09-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多