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: createdisplay

Function: setfractions
Description: Changes the proportions of parts of a display

Usage: setfractions(di, rows_props, cols_props)
Input:
di string, name of a display
rows_props n x 1 vector of values for vertical fractions, by a vector of ones (e.g., #(1, 1, 1)) all parts of the display are plotted with the same height
cols_props n x 1 vector of values for horizontal fractions, by a vector of ones (e.g., #(1, 1, 1)) all parts of the display are plotted with the same width

Example:
di=createdisplay(2, 1)
x=1:100
y=sin(x/20)+uniform(100, 1)/10
setfractions(di, 5 | 1, 1)
show(di, 2, 1, "y=sin(x/20)+uniform(100, 1)/10")
show(di, 1, 1, x~y)

Result:
A large window showing the data and a small
window containing a string is displayed.



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