| Library: | graphic |
| See also: | grbar grbox grhist |
| Macro: | grstar | |
| Description: | Generates a star diagram. |
| Usage: | bp = grstar (x {, col {, option {, minmax}}}) | |
| Input: | ||
| x | n x 1 vector | |
| col | color | |
| option | scalar | |
| Output: | ||
| bp | composed graphical object | |
; loads the library graphic
library ("graphic")
; reads the swiss banknote data (200x6)
x = read("bank2")
; computes a star diagram of x based on the principal
; on the principal components
bp = grstar (x, 0, grc.prep.pcacov)
; creates a display
t = createdisplay(1,1)
; shows the star diagram
show (t, 1, 1, bp)
shows a star diagram of the principal components of the swiss banknote data
| Library: | graphic |
| See also: | grbar grbox grhist |