|
Contents | Previous | Next | Subchapters |
| Syntax |
gintercept(x-intercept, y-intercept)x-intercept, y-intercept, z-intercept) |
| See Also | gxyzaxis |
| Menu Command | Graphics | Intercepts |
x-axis,
y-axis, and
z-axis,
intersect, where
x-intercept,
y-intercept, and
z-intercept,
are integer, real, or double-precision scalars or character row vectors.
(If the z-intercept is not specified, it is 0 by default.)
If the argument is a character row vector it must be either
"min", "center", or "max".
Numeric Example
ginit
x = seq(11) - 6
gplot(x, 5 - x^2)
O-Matrix will plot a parabola.
You can set the x-axis along the top of the parabola by entering
gintercept(0, 5)
ginit
x = seq(11) - 6
gplot(x, 5 - x^2)
gintercept("center", "max")
O-Matrix will plot a parabola with the
axis intercept point in the middle of the
x-axis and at the top of the
y-axis.