MATLAB: Change the Line width in imfreehand

imfreehandlinewithdno poly

Dear all,
I am interested to increase the line width in imfreehand and also it should not be poly. To avoid poly I do this.
test = imfreehand('Closed',0);
which works fine. Now How can I increase the line width. I am using MATLAB 2015.

Best Answer

test = imfreehand('Closed',0);
pos = test.getPosition();
plot(pos(:,1),pos(:,2),'linewidth',5) ;
Related Question