Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: create grayscale star sign
Date: Tue, 11 Aug 2009 12:09:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <h5rn1f$sqp$1@fred.mathworks.com>
References: <h2n7vl$5th$1@fred.mathworks.com> <0b84ba91-b15b-4dc1-9615-e9dff36570d8@s31g2000yqs.googlegroups.com> <267b4f57-eee0-4a13-8b53-d77765ab3e9e@r36g2000vbn.googlegroups.com> <h5rmif$sg9$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 1249992559 29529 172.30.248.38 (11 Aug 2009 12:09:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 11 Aug 2009 12:09:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1917726
Xref: news.mathworks.com comp.soft-sys.matlab:562383


"M. David " <M.David@gmail.com> wrote in message <h5rmif$sg9$1@fred.mathworks.com>...
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message <267b4f57-eee0-4a13-8b53-d77765ab3e9e@r36g2000vbn.googlegroups.com>...
> > On Aug 11, 7:32?am, "M. David " <M.Da...@gmail.com> wrote:
> > > Hi,
> > > I need a shape similar to star sign again, I want to draw the shape using cos function. ?4 peaks (for north, south, west and east) will be enough for the star shape. Could you please give me example codes for this purpose
> > >
> > > thanks, cheers- Hide quoted text -
> > >
> > > - Show quoted text -
> > 
> > ---------------------------------------------------------------------
> > Why use a cos() function when all your vertices lie on the x and y
> > axes?
> > Just pick your 8 points and use the line() or plot() function - its
> > really trivial.
> 
> dear ImageAnalyst, thanks for your response.
> the peaks must not be sharp.  And, I will paint the inside of the shape with different color, and outside of the shape with different color. Also, the color of the shape itself must be with different color. How to do this?

I mean, there should not be any sharp corner. Deeps and the peaks should not be sharp