How do I get specific points to show up on plot?
조회 수: 6 (최근 30일)
이전 댓글 표시
`First I plot the data given on a graph (xy) `Every 8hrs (runs in a while loop doing a calculation) I need the graph to plot the point on the graph with a different color.`
댓글 수: 0
답변 (1개)
KSSV
2018년 1월 16일
figure
hold on
for i = 1:10
x = rand ; y = rand ;
plot(x,y,'.','markersize',50,'color',rand(1,3)) ;
end
댓글 수: 2
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!