Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
c14h19no2 committed Mar 1, 2021
1 parent 542e1ec commit 8f743a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ ans =
同前文 *sunvs_display* 中的 *colormap* 参数相似,我们可以自己定义 *ModuleColor* ,以精细地操纵图中的色彩。例如,我们的 *.node* 文件中有 6 个脑区,它们各自分属于 [1 2 3 2 3 1] 3 大模块,那么我们直接给 *.node* 文件中每个节点的第 4 列分别赋值 [1; 2; 3; 2; 3; 1],并创造一个 *ModuleColor* 矩阵,给每个模块定义其颜色(共 3 种,各自对应一个模块):

```matlab
>> myModuleColor = [1 0 0; ...
0 1 0; ...
0 0 1];
>> myModuleColor = [0.9844, 0.5508, 0.3477;...
0.9961, 0.9961, 0.7461;...
0.5664, 0.7461, 0.8555];
```

最后将 *.node* 文件路径和 *ModuleColor* 导入函数
Expand Down

0 comments on commit 8f743a1

Please sign in to comment.