Skip to content

Correlation matrix not working properly when using plotmatrix(X) #207

Closed
@xarico10

Description

@xarico10

When calling plotmatrix(X) to create a matrix of subaxes containing scatter plots of every X variable against the rest, and containing an histogram on the diagonal, apart from the visual issue (#206), such histogram isn't being plotted and a self-related scatter chart is being plotted on the diagonal (which makes no sense).

X = randn(50,3);  
plotmatrix(X)

Expected and generated (https://chart-studio.plotly.com/~xarico10/523/#/) plots
Captura de Pantalla 2021-07-27 a la(s) 7 01 22 p  m
Captura de Pantalla 2021-07-27 a la(s) 7 01 38 p  m

Examples on using plotmatrix(X) can be found on:
https://www.mathworks.com/help/matlab/ref/plotmatrix.html#btse92g-1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions