image thumbnail

MATLAB Plot Gallery - Display Image (1)

by

 

24 Feb 2012 (Updated )

Create an image display

Display_Image_1

This is an example of how to display a simple image in MATLAB®.

Read about the image function in the MATLAB documentation.

For more examples, go to MATLAB Plot Gallery

% Load the data for the North Atlantic image
load NAimage lng lat naimg

% Create the image display using the image command
figure
image(lng, lat, naimg)

% Turn the axes off
axis off

% Add title
title('North Atlantic')

Contact us