| Contents | Index |
hfig = imgcf
hfig = imgcf returns the handle of the current figure that contains an image. The figure may be a regular figure window that contains at least one image or an Image Tool window.
If none of the figures currently open contains an image, imgcf creates a new figure.
imgcf can be useful in getting the handle to the Image Tool figure window. Because the Image Tool turns graphics object handle visibility off, you cannot retrieve a handle to the tool figure using gcf.
imtool rice.png cmap = copper(256); set(imgcf,'Colormap',cmap)

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |