Library: | graphic |
See also: | grrot |
Quantlet: | grmove | |
Description: | Moves a graphical object. |
Usage: | grout = grmove (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 = grmove(bp1, #(0, 2)) d = createdisplay(1,1) show(d, 1, 1, bp1, bp2)
shows the same dotplot twice, one shifted upward by 2