【发布时间】:2020-08-11 14:22:46
【问题描述】:
根据this,可以在Octave中指定值从0到1的RGB三元组颜色。
对于长度相等的两个向量的散点图如何做到这一点,其中所有点都将具有相同的 RGB 颜色[0.5,0,0.5]?
我尝试了以下方法:
a = randn(100,1);
b = randn(100,1);
scatter(a,b,[0.5,0,0.5],'filled')
error: __scatter__: mx_el_or: nonconformant ar
guments (op1 is 100x1, op2 is 3x1)
error: called from
__scatter__ at line 52 column 7
scatter at line 86 column 10
【问题讨论】:
标签: octave scatter-plot