Plot only upper part(half) of the correlation matrix

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:

回答 (1 件)

Mu Qiao
Mu Qiao 2016 年 7 月 19 日

0 投票

I may have a naive solution.
for i = 1:10
for j = 1:i
delete(subplot(10,10,(i-1)*12+j));
end
end

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

製品

質問済み:

2015 年 10 月 12 日

回答済み:

2016 年 7 月 19 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by