朱莉娅散点图中的尺寸和颜色
我想创建一个散点图。我在其他变量(向量)中具有点大小和颜色。
x = Float64.(1:10)
y = Float64.(1:10)
c = Float64.(1:10)
s = Float64.(1:10)
scatter(x,y)
我已经很久了,我一直在谷歌搜索,找不到正确的答案。我正在寻找的是:
I want create a scatter plot. I have point size and colour in additional variables (vectors).
x = Float64.(1:10)
y = Float64.(1:10)
c = Float64.(1:10)
s = Float64.(1:10)
scatter(x,y)
I've been googling very long now and could not find the right answer. What I am looking for is this:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这应该使您成为其中的一部分:
我没有时间尝试找出传奇。
有几乎无限的颜色化学数量,如果这个颜色数字不正确,请在这里查看: https://docs.juliaplots.org/latest/generated/colorschemes/
This should get you part of the way there:
I didn't have time to try to figure out the legends.
There are a nearly unlimited number of colorschemes, have a look here if this one isn't exactly right: https://docs.juliaplots.org/latest/generated/colorschemes/