Borrar filtros
Borrar filtros

Plot only upper part(half) of the correlation matrix

12 visualizaciones (últimos 30 días)
sally_wu
sally_wu el 12 de Oct. de 2015
Respondida: Mu Qiao el 19 de Jul. de 2016
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:

Respuestas (1)

Mu Qiao
Mu Qiao el 19 de Jul. de 2016
I may have a naive solution.
for i = 1:10
for j = 1:i
delete(subplot(10,10,(i-1)*12+j));
end
end

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by