how to plot in red colour on image
조회 수: 3 (최근 30일)
이전 댓글 표시
hi.. i have coordinate (x y)on image. i want to plot to red color on that image. how to do this. thanks
댓글 수: 0
채택된 답변
Image Analyst
2012년 4월 19일
Maybe you mean
plot(columnX, rowY, 'r+', 'MarkerSize', 30, 'LineWidth', 3);
If not, describe what you mean by "plot to red".
추가 답변 (1개)
Geoff
2012년 4월 19일
You mean you want to change the pixel at x,y to red?
img(y,x,:) = [255 0 0]
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!