plot images in matlab

figure : figure creates figure graphics objects. Figure objects are the individual windows on the screen in which the MATLAB software displays graphical output.

Example

clear all
a = imread('images111.jpg');
aa = rgb2gray(a);
imshow(aa);
figure, bar3(aa,'r') % r for red bars

Output

Share

You may also like...