Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Plot Manipulation
See also: setxaxis show setheadline

Function: setyaxis
Description: Changes the layout of the vertical axis.

Usage: setyaxis(di, l_num, c_num, from, to{, origin, major, minor, m, k})
Input:
di string, name of a display
l_num integer, representing the number of a row of the display di
c_num integer, representing the number of a column of the display di
from scalar, the minimal value on the y-axis
to scalar, the maximal value on the y-axis
origin optional scalar, origin of the tickmark
major optional scalar, major of the tickmark
minor optional scalar, minor of the tickmark
m optional scalar, m from the transformation "m+k*y" of the text on the y-axis
k optional scalar, k from the transformation "m+k*y" of the text on the y-axis

Example:
di=createdisplay(1, 1)
x=1:100
y=sin(x/20)+uniform(100, 1)/10
show(di, 1, 1, x~y)
setyaxis(di, 1, 1, -1.5, 1.5, 0, 0.5, 0.1, 0, 1)

Result:
A display window is created showing the defined
properties of the y axis



(C) MD*TECH Method and Data Technologies, 05.02.2006