|
Contents | Previous | Next | Subchapters |
| Syntax |
axiscale(data) |
| See Also | gxaxis(type) |
clear
x = 0. : .01 : 1.
y1 = sin(2 * pi * x)
y2 = exp(x)
scale = axiscale([y1, y2])
#
gaddview(0., 0., .5, 1.);
gyaxis("linear", scale(1), scale(2), int(scale(3)), int(scale(4)))
gplot(x, y1)
#
gaddview(.5, 0., .5, 1.);
gyaxis("linear", scale(1), scale(2), int(scale(3)), int(scale(4)))
gplot(x, y2)