when i am putting point using impoint function than by default blue color is coming. how to increase the size of this knot(point). and how to change the default color blue to red.

2 views (last 30 days)
handles.h = impoint(gca,100,200);
setColor(handles.h,'red');

Answers (2)

KSSV
KSSV on 3 Sep 2017
h = impoint(gca,100,200);
setColor(h,'red');

Image Analyst
Image Analyst on 3 Sep 2017
You'd have to make a copy of impoint.m. Call it impointBlue.m. Then edit that to make the color and size change and in your code call impointBlue() instead of impoint(). I don't recommend changing the official built-in version (though you could).

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!