How can I draw Multivariate Scatter Plot?

1 visualización (últimos 30 días)
Selin Soguksu
Selin Soguksu el 26 de Feb. de 2013
Hello, I want to draw a multivariate scatter plot. I have 3 variables. 2 of them have 3 categories and one of them have 4 categories. Is gplotmatrix function true for this purpose? Thank you...
  1 comentario
Elton Rexhepaj
Elton Rexhepaj el 26 de Feb. de 2013
You can use a paralel cordinate plot but doing a standartization of each variable prior to ploting.
parallelcoords(X)
wehre X is your multivariate data with rows representing samples and columns variables

Iniciar sesión para comentar.

Respuestas (1)

Tom Lane
Tom Lane el 28 de Feb. de 2013
You could use gscatter to plot two of them with coloring determined by the third. You could use plotmatrix or gplotmatrix to plot sets of pairs. You could draw a multivariate scatter plot like this:
a = randi(3,20,1);
b = randi(3,20,1);
c = randi(4,20,1);
plot3(a,b,c,'bo')
However, with such course data (few distinct values) I suspect you might not see much.

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