~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/graphics/xstringl.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
xstringl          Scilab Group          Scilab Function            xstringl
2
 
NAME
3
 
   xstringl - compute a box which surrounds strings
4
 
  
5
 
CALLING SEQUENCE
6
 
 rect=xstringl(x,y,str)
7
 
PARAMETERS
8
 
 rect   : vector of 4 real scalars defining the box.
9
 
        
10
 
 x,y    : real scalars, coordinates of the lower-left point of the
11
 
        strings.
12
 
        
13
 
 str    : matrix of strings.
14
 
        
15
 
DESCRIPTION
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.
20
 
  
21
 
EXAMPLE
22
 
 plot2d([0;1],[0;1],0)
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)
27
 
SEE ALSO
28
 
   titlepage, xstring, xstringl, xtitle
29
 
  
30
 
AUTHOR
31
 
   J.Ph.C.
32