bringToFront(ROI)moves the specified ROI to the front of the front-to-back visual stacking order of Axes children.
Use thebringToFrontfunction when you want to bring a single ROI to the front of the visual stacking order. For other restacking behaviors, use theuistackfunction.
Create a circular ROI on the image, specifying where you want to place the circle and how wide to make the circle. To make it easy to see the changes to the stacking order, make the ROI opaque and specify the color black.
roi = images.roi.Circle(gca,'Center',[166 123],'Radius',50); roi.FaceAlpha = 1.0; roi.Color ='black';
Create another circular ROI, specifying the same center point but make this ROI bigger. Again, to make the stacking order easy to see, make the ROI opaque and specify a different color, in this case, blue. This new ROI completely covers the first ROI.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.