Plot only upper part(half) of the correlation matrix
6 次查看(过去 30 天)
显示 更早的评论
I have the following correlation matrix, and would like to plot only the upper part as the lower part is just a mirror of the upper part. I also do not want to show the pink line (regression line) in the correlation matrix. How can I do that?
I used the following command:
corrplot('data') and get the following plot:
0 个评论
回答(1 个)
Mu Qiao
2016-7-19
I may have a naive solution.
for i = 1:10
for j = 1:i
delete(subplot(10,10,(i-1)*12+j));
end
end
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!