View License

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

» Watch video

Highlights from
imagesc legend

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

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

imagesc legend

by

 

can give the legend to imagesc

| Watch this File

File Information
Description

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’

example:

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