Thread Subject:
pcolor/ clustergram/ imagesc

Subject: pcolor/ clustergram/ imagesc

From: Frank Sabouri

Date: 27 Aug, 2010 21:09:05

Message: 1 of 2

Hi all -

If I want to illustrate a matrix of "X" that is n-by-m via using 'pcolor (X)', the output shows a matrix that is n-1-by-m-1. I would like to keep the lines that separate each value in illustrated figure as ‘pcolor’ did. Using other functions such as 'clustergram' or 'imagesc', although size output and input matrices are the same, the lines were disappeared in output figures. May anyone help me to solve this problem?

Regards,

Frank

Subject: pcolor/ clustergram/ imagesc

From: ImageAnalyst

Date: 27 Aug, 2010 21:24:43

Message: 2 of 2

Frank :
Try this:
a=magic(5)
imagesc(a);
it will be 5 blocks by 5 blocks, not 4 blocks by 4 blocks like
pcolor. No black lines separating the blocks though - you'd have to
draw them yourself.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
x y color Michael Peng 1 Oct, 2010 23:10:42
pcolor clustergram... Frank Sabouri 27 Aug, 2010 17:14:11
rssFeed for this Thread

Contact us