partEllipse {PET} | R Documentation |
The function offers the possibility to generate and to manipulate an ellipse. The data will be generated in [-1,1]^2.
partEllipse(mod = "hcirc1", x = 0, y = 0, intensity = 0.1, n = 257, re1 = 0.2, re2 = 0.2, ring.wide = 0.05, no.xax1 = -1, no.xax2 = 1, no.yax1 = -1, no.yax2 = 1, in.r = 0.01, DebugLevel = "HardCore")
mod |
Defines the type of computation technique. Default is |
x |
Is the x-coordinate of the center of the ellipse. Defaults to |
y |
Is the y-coordinate of the center of the ellipse. Defaults to |
intensity |
The intensity of the values, those are in the defined area. Defaults to |
n |
(integer) Is the number of columns and rows in the generated image. It is assumed that the number of columns are equal to the number of rows. Defaults to |
re1 |
Is the half length of the horizontal axis. Defaults to |
re2 |
Is the half length of the vertical axis. Defaults to |
ring.wide |
Defines the wide of the ellipse. This area is set to |
no.xax1 |
The area of x-axis between -1 and |
no.xax2 |
The area of x-axis between 1 and |
no.yax1 |
The area of y-axis between -1 and |
no.yax2 |
The area of y-axis between 1 and |
in.r |
If |
DebugLevel |
(character) This parameter controls the level of output. Defaults to |
Returns a matrix.
Joern Schulz jschulz78@web.de.
## Not run: ellip1 <- partEllipse() ellip2 <- partEllipse(x=0.1, y=-0.1, ring.wide=0.4) ellip3 <- partEllipse(mod="hcirc2", y=0.2, intensity=0.4, re1=0.5, no.xax1=0, DebugLevel="Normal") ellip4 <- partEllipse(mod="hcirc3", y=0.2, intensity=0.4, re1=0.5, no.xax2=0, DebugLevel="Normal") viewData(list(ellip1, ellip2, ellip3, ellip4,), list("Part of an ellipse 1", "Part of an ellipse 2", "Part of an ellipse 3", "Part of an ellipse 4")) rm(ellip1,ellip2,ellip3,ellip4) ## End(Not run)