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: setyaxis show setheadline

Function: setxaxis
Description: Changes the layout of the horizontal axis.

Usage: setxaxis(di, l_num, c_num, from, to{, origin, major, minor, m, k})
Input:
di string, name of a display
l_num integer, represents the number of a row of the display di
c_num integer, represents the number of a column of the display di
from scalar, the minimal value of the x-axis
to scalar, the maximal value of the x-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*x" of the text on the x-axis
k optional scalar, k from the transformation "m+k*x" of the text on the x-axis

Example:
di=createdisplay(1, 1)
x=1:100
y=sin(x/20)+uniform(100, 1)/10
show(di, 1, 1, x~y)
setxaxis(di, 1, 1, 0, 101, 0, 20, 5, 0, 1)

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



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