Library: | graphic |
See also: | grrot |
Quantlet: | grscale | |
Description: | scales a graphical object |
Usage: | grout = grscale (grin, shf) | |
Input: | ||
grin | composed graphical object | |
shf | 1 x 2 vector | |
Output: | ||
grout | composed graphical object |
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)
shows a the same dotplot twice, one scaled by 2 in y-direction