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 |
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)
A large window showing the data and a small window containing a string is displayed.