How graph using for loop
Ältere Kommentare anzeigen
it is possible to classify the data of a graph using the for loops?
For example so that the data of this graph if they paint four different colors ( x> 90 y<90, another x> 90 y> 90, another x<90 y<90,another x<90 y> 90)
x=-100+(100+100)*rand(1500,1);
y=-100+(100+100)*rand(1500,1);
plot(x,y,'or')
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!