| Library: | graphic |
| See also: | gryline grlinreg grcircle |
| Macro: | grxline | |
| Description: | Generates a vertical line as a graphical object. |
| Usage: | lx = grxline (x, v {, col}) | |
| Input: | ||
| x | scalar | |
| v | n x 1 vector | |
| col | color | |
| Output: | ||
| lx | composed graphical object | |
library ("graphic")
x = normal(100, 2)
lx = grxline (0, x[,2])
ly = gryline (0, x[,1])
d = createdisplay (1,1)
show (d, 1, 1, x, lx, ly)
shows a bivariate normally distributed dataset and the coordinate axes.
| Library: | graphic |
| See also: | gryline grlinreg grcircle |