9
9
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11
11
<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" version="5.0-subset Scilab" xml:lang="en_US" xml:id="datatipSetOrientation">
13
<refname>datatipSetOrientation</refname>
14
<refpurpose>Set the position of the text box associated with the given tip.</refpurpose>
17
<title>Calling Sequence</title>
19
datatipSetOrientation(tip_handle,orient)
23
<title>Arguments</title>
26
<term>tip_handle</term>
29
A handle on a datatip.
39
A character string with possible values:
40
<literal>"automatic"</literal> <literal>"upper
43
<literal>"upper right"</literal>,
44
<literal>"lower left"</literal>, <literal>"lower
54
<title>Description</title>
56
Set the position on the text box with respect to the polyline
57
point. With the <literal>"automatic"</literal> orientation the
58
program makes the choice of the position trying to prevent
59
text from overlapping polyline, it also tries to to keep the text
60
box within the plot boundaries.
64
<title>Examples</title>
65
<programlisting role="example"><![CDATA[
13
<refname>datatipSetOrientation</refname>
14
<refpurpose>Set the position of the text box associated with the given tip.</refpurpose>
17
<title>Calling Sequence</title>
19
datatipSetOrientation(tip_handle,orient)
23
<title>Arguments</title>
26
<term>tip_handle</term>
29
A handle on a datatip.
39
A character string with possible values:
40
<literal>"automatic"</literal> <literal>"upper
43
<literal>"upper right"</literal>,
44
<literal>"lower left"</literal>, <literal>"lower
54
<title>Description</title>
56
Set the position on the text box with respect to the polyline
57
point. With the <literal>"automatic"</literal> orientation the
58
program makes the choice of the position trying to prevent
59
text from overlapping polyline, it also tries to to keep the text
60
box within the plot boundaries.
64
<title>Examples</title>
65
<programlisting role="example"><![CDATA[
66
66
x=linspace(-20,20,1000);
68
68
plot(x,sinc(x),x,sinc(x^2));
71
71
d2=datatipCreate(e(2),60);
72
72
datatipSetOrientation(d2,"lower left")
73
73
]]></programlisting>
75
<refsection role="see also">
76
<title>See Also</title>
77
<simplelist type="inline">
79
<link linkend="datatips">datatips</link>
82
<link linkend="datatipCreate">datatipCreate</link>
85
<link linkend="datatipRemove">datatipRemove</link>
75
<refsection role="see also">
76
<title>See Also</title>
77
<simplelist type="inline">
79
<link linkend="datatips">datatips</link>
82
<link linkend="datatipCreate">datatipCreate</link>
85
<link linkend="datatipRemove">datatipRemove</link>