hi,
Thanks alot for the idea. I managed to draw few diagrams.

On Tue, Aug 18, 2009 at 9:02 PM, Petr PIKAL <petr.pikal@precheza.cz> wrote:

> Hi
>
> r-help-bounces@r-project.org napsal dne 18.08.2009 06:13:09:
>
> > Hi everyone,
> > I want you all help me to give an idea, how to draw pentagon with
> points?
> > Maybe can use function, but I'm stuck.
>
> Maybe. Maybe you can use a pencil, instead.
>
> Basically this
>
> plot(1:10, type="n")
> polygon(c(2,3,5,6,4), c(5,3,3,5,7))
> points(c(2,3,5,6,4), c(5,3,3,5,7))
>
> will draw one of infinite number of pentagons.
>
> If you can establish a function for drawing any pentagon in any display
> with any range it would be more complicated and you probably need to study
> ?grDevices and ?par more thoroughly
>
> Regards
> Petr
>
> >
> > Yhank you.
> >
> > --
> > Hemavathi Ramulu
> >
> >    [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
>


-- 
Hemavathi Ramulu

	[[alternative HTML version deleted]]


