Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Displaying 3 channel data of values larger than 1
Date: Thu, 8 Oct 2009 09:40:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <hakc1k$g1v$1@fred.mathworks.com>
References: <hak6ot$29e$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254994805 16447 172.30.248.38 (8 Oct 2009 09:40:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 8 Oct 2009 09:40:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1708920
Xref: news.mathworks.com comp.soft-sys.matlab:575824




If you don't want the scaling to effect the original you can either make a copy of the array or apply the scaling inline to the call to imagesc e.g.

imagesc((A-min(A(:)))/(max(A(:))-min(A(:))))