Main Content
subimage
Display multiple images in single figure
subimage
is not recommended. Use imshow
with tiledlayout
to display multiple images in the same figure window. For
more information, see Version History.
Description
subimage(
displays
the RGB (truecolor), grayscale, or binary image I
)I
in the
current axes.
You can use subimage
in conjunction with
subplot
to create figures with multiple images, even if the
images have different colormaps. subimage
converts images to RGB
for display purposes, thus avoiding colormap conflicts.
returns a handle to an image object.h
= subimage(___)