Path: news.mathworks.com!not-for-mail
From: "Hooman " <hoomanp@rci.rutgers.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Please Help, How to calculate the area percentage of each color in a contour map?
Date: Wed, 10 Jun 2009 16:06:01 +0000 (UTC)
Organization: Rutgers University
Lines: 4
Message-ID: <h0oll9$r0s$1@fred.mathworks.com>
Reply-To: "Hooman " <hoomanp@rci.rutgers.edu>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1244649961 27676 172.30.248.35 (10 Jun 2009 16:06:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 10 Jun 2009 16:06:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1723265
Xref: news.mathworks.com comp.soft-sys.matlab:546249


Hello all,
have a rectangular m by n matrix of points and based on a simple function I want to make a contour map with it. but additional to that I also want to know what is the percentage of area of each color in my contour map, (assume I have only four colors).

can anyone help me with this?