Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: grpie

Quantlet: grcirclesector
Description: Generates a sector of a circle.

Link:
Usage: mysector = grcirclesector(radius,alpha1,alpha2)
Input:
radius scalar radius of circle
alpha1,alpha2 scalars angles enclosing the sector
Output:
mysector composed graphical object

Example:
library("graphic")
r = 50
a1 = 1
a2 = 3.14
mysector = grcirclesector(r,a1,a2)
d  = createdisplay(1,1)
show(d, 1, 1, mysector)

Result:
shows a sector of a circle



Author: R. Witzel, 19981111
(C) MD*TECH Method and Data Technologies, 05.02.2006