1
xstringl Scilab Group Scilab Function xstringl
3
xstringl - compute a box which surrounds strings
8
rect : vector of 4 real scalars defining the box.
10
x,y : real scalars, coordinates of the lower-left point of the
13
str : matrix of strings.
16
xstringl returns in rect=[x,y,w,h] (upper-left point, width, height) the
17
size of a rectangle in the current graphic scale which would surround the
18
strings str drawn at location x,y (lower-left point). The result can be
19
approximative when using the Postscript driver.
23
str=["Scilab" "is";"not" "elisaB"];
24
r=xstringl(0.5,0.5,str)
25
xrects([r(1) r(2)+r(4) r(3) r(4)]')
26
xstring(r(1),r(2),str)
28
titlepage, xstring, xstringl, xtitle