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.

1 次查看(过去 30 天)
handles.h = impoint(gca,100,200);
setColor(handles.h,'red');

回答(2 个)

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

Image Analyst
Image Analyst 2017-9-3
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).

Community Treasure Hunt

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

Start Hunting!

Translated by