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!