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.

4 visualizzazioni (ultimi 30 giorni)
handles.h = impoint(gca,100,200);
setColor(handles.h,'red');

Risposte (2)

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

Image Analyst
Image Analyst il 3 Set 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).

Community Treasure Hunt

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

Start Hunting!

Translated by