matrix to a point plot
Mostrar comentarios más antiguos
Hi,i'm fairly new to all this, but as the title say i need help to make a point plot from my data. So i have a [M N] Matrix (my test data is 7x15, but it need to work with any size matrix),
i want to have so it look like this.: https://www.google.dk/search?q=scatterplot&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj27tGe7vDaAhXTxKYKHabqBAsQ_AUICigB&biw=1366&bih=637#imgrc=hjPIB_OYmEMk7M: but i can't make it work with a unknown size matrix. I have tried with the in-build scatterplot function (isn't it the best function to use in this case) I have also tried with gplotmatrix but it's a bit more complex..
Thank you in advance, sincerely
Christian
4 comentarios
Ameer Hamza
el 6 de Mayo de 2018
This is just one variable. For scatter, you will need two variables. How do you decide the location of each point from this matrix.
Christian Jensen
el 6 de Mayo de 2018
Editada: per isakson
el 6 de Mayo de 2018
Ameer Hamza
el 6 de Mayo de 2018
Do you mean column value or row value? Look at my answer below. It takes column number as x value.
Christian Jensen
el 6 de Mayo de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Scatter Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!