I have drawn two lines. But , when I try to draw a circle on it, it doesn't work.
a(1:400,1:400,1:3)=255;
a(200,1:400)=0;
a(1:400,200)=0;
imshow(a);
It works perfectly. But while I execute the below codes to draw a circle, the above lines vanish from the figure.
centrepoint=[a(200),a(200)];
viscircles(centrepoint,198);
What is wrong in my codes?
Not sure what you mean. When executing your code I get:
When executing:
I get: