How to acieve a scatter plot like this.
Mostrar comentarios más antiguos
Hi I have to do a scatter plot where each point in e.g. the xy-plane consist of determined value. My question is how do i plot a discrete amout of values where each of the values is related to a x, y-coordinate. I have seen reports with plots similar to the one presenten in the picture: 

Hope to hear your input.
Best regards.
Respuesta aceptada
Más respuestas (1)
>> M = randi([-3,6],5,7);
>> M([3,4,5,9,10,15]) = NaN;
>> pcolor(1:7,1:5,M)

You can view many plotting functions here:
1 comentario
Andreas Christensen Sørensen
el 15 de Dic. de 2018
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!
