Library: | graphic |
See also: | grxline gryline |
Quantlet: | grcircle | |
Description: | Generates a circle or ellipse as a graphical object. The circle is centered at (0,0) and has the given radius. |
Usage: | gc = grcircle (radius {, col}) | |
Input: | ||
radius | scalar | |
col | color | |
Output: | ||
gc | composed graphical object |
library("graphic") x = normal(100, 2) gc = grcircle(3.0) d = createdisplay(1,1) show(d, 1, 1, x, gc)
shows a bivariate normal disributed dataset and a circle with radius 3.