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: grrot

Quantlet: grscale
Description: scales a graphical object

Link:
Usage: grout = grscale (grin, shf)
Input:
grin composed graphical object
shf 1 x 2 vector
Output:
grout composed graphical object

Example:
library("graphic")
t   =(normal(25)-8)|(normal(25)+8)|normal(100)|(normal(10)+25)
bp1 = grdot(t)
bp2 = grscale(bp1, #(1, 2))
d   = createdisplay(1,1)
show(d, 1, 1, bp1, bp2)

Result:
shows a the same dotplot twice, one scaled by 2 in y-direction



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