View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
imagesc legend

4.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 1.76 KB File ID: #39964 Version: 1.0
image thumbnail

imagesc legend



can give the legend to imagesc

| Watch this File

File Information

can give the legend to imagesc

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
04 Jan 2016 Yuheng

Very useful function.
But there is a small fault in online help.
The first line ‘h is gcf’ should be ‘h is the handle of a surface object, such as imagesc, pcolor or surf’


A = magic(5);
hh = pcolor(A)
imlegend(hh, [1,5,10], {'a','b','c'})

07 Apr 2014 fatima

fatima (view profile)

Hi Ganquan, it would be so kind of you if you (or any generous expert user) could give an example about how to use this code. Many thanks.

Comment only

Contact us