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: setxaxis changes the layout of the horizontal axis.


Usage: setxaxis(di, l_num, c_num, from, to{, origin, major, minor, m, k})
Input:
di Display
l_num integer, 1 ... count of lines of di
c_num integer, 1 ... count of columns of di
from the minimal value on the axis
to the maximal value on the axis
origin origin for tickmark
major major for tickmark
minor minor for tickmark
m m from the "m+k*x" as axis text
k k from the "m+k*x" as axis text

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:



New Display windows is created, with user defined properties of x axis


Group: Plot Manipulation
See also: setyaxis show setheadline

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

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