13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" version="5.0-subset Scilab" xml:lang="en" xml:id="xrect">
15
<refname>xrect</refname>
16
<refpurpose> draw a rectangle</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>xrect(x,y,w,h)
21
xrect(rect) // with rect =[x,y,w,h]
25
<title>Arguments</title>
30
<para>four real values defining the rectangle.</para>
36
<title>Description</title>
38
<literal>xrect</literal> draws a rectangle defined by <literal>[x,y,w,h]</literal>
39
(upper-left point, width, height) in user coordinates.
41
<para>WARNING: please note that height is positive downwards.</para>
46
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
52
<title>Examples</title>
53
<programlisting role="example"><![CDATA[
15
<refname>xrect</refname>
16
<refpurpose> draw a rectangle</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>xrect(x,y,w,h)
21
xrect(rect) // with rect =[x,y,w,h]
25
<title>Arguments</title>
30
<para>four real values defining the rectangle.</para>
36
<title>Description</title>
38
<literal>xrect</literal> draws a rectangle defined by <literal>[x,y,w,h]</literal>
39
(upper-left point, width, height) in user coordinates.
41
<para>WARNING: please note that height is positive downwards.</para>
46
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
52
<title>Examples</title>
53
<programlisting role="example"><![CDATA[
54
54
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
57
57
]]></programlisting>
59
<refsection role="see also">
60
<title>See Also</title>
61
<simplelist type="inline">
63
<link linkend="xfrect">xfrect</link>
66
<link linkend="xrects">xrects</link>
59
<refsection role="see also">
60
<title>See Also</title>
61
<simplelist type="inline">
63
<link linkend="xfrect">xfrect</link>
66
<link linkend="xrects">xrects</link>