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: grandrews grpcp grcontour3

Quantlet: grsunflower
Description: Generates a sunflower plot.

Link:
Usage: bp = grsunflower (x, {d, {or, {col}}})
Input:
x n x dim vector
d dim x 1 binwidth
or dim x 1 origin
col scalar color
Output:
bp composed graphical object

Example:
library("graphic")
t  = normal(10000, 2)
bp = grsunflower(t)
d  = createdisplay(1,1)
show(d, 1, 1, bp)

Result:
shows a sunflower plot of 2-dimensional
dataset with default binwidth and origin
Example:
library("graphic")
t  = normal(10000, 4)
bins=(1|1|1|1)
org=(0|0|0|0)
bp = grsunflower(t,bins,org,3)
d  = createdisplay(1,1)
show(d, 1, 1, bp)

Result:
shows a sunflower plot of 4-dimensional
dataset with specified binwidth, origin,
and color
Example:
library("graphic")
t  = normal(5000, 3)|(normal(5000,3)+(4~1~0))
bins=(1|1|1)
org=(0|0|0)
bp = grsunflower(t,bins,org,4)
d  = createdisplay(1,1)
show(d, 1, 1, bp)

Result:
shows a sunflower plot of 3-dimensional
dataset consisting of a mixture of
two normal distributions



Author: S. Klinke, Z. Hlavka, 20010503
(C) MD*TECH Method and Data Technologies, 05.02.2006