0

我需要一个包含 24 行不同非重复颜色的图。如何使用通过 distinct_colors 创建的矩阵在 loglog 函数中为行(总共 24 行)设置不同的颜色?

我得到错误:不正确的号码分配。左侧缺少 []。

元素的尺寸相同且相等 [1 248]。

代码:

col = distinguishable_colors(24);
figure
x = loglog(a1.tau, a1.sm, a2.tau, a2.sm, ..., a24.tau, a24.sm); 
x.Color = col;
4

0 回答 0