Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fill contour with specified color?
Date: Wed, 25 May 2011 02:02:04 +0000 (UTC)
Organization: Rincon Research Corp
Lines: 7
Message-ID: <irhnus$355$1@newscl01ah.mathworks.com>
References: <irh8p6$pgj$1@newscl01ah.mathworks.com> <9b51b4cd-dd0b-4c81-b5dd-e4c499083d62@s9g2000yqm.googlegroups.com> <504a9335-8f4f-47e3-bb81-63545c15cf04@y19g2000yqk.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1306288924 3237 172.30.248.48 (25 May 2011 02:02:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 25 May 2011 02:02:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2235717
Xref: news.mathworks.com comp.soft-sys.matlab:728552

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <504a9335-8f4f-47e3-bb81-63545c15cf04@y19g2000yqk.googlegroups.com>...
> How about using the 'Fill' 'on' option?  If that doesn't work, then
> get the coordinates of the contours from the function (it's one of the
> output args) and then use patch() to fill just the one(s) that you
> want filled.

How would I do that with something donut shaped for example? I'd get two circles, but treating them separately wouldn't fill it properly.