1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) ENPC - Jean-Philippe Chancelier
5 * Copyright (C) 2013 - Samuel GOUGEON
7 * This file must be used under the terms of the CeCILL.
8 * This source file is licensed as described in the file COPYING, which
9 * you should have received as part of this distribution. The terms
10 * are also available at
11 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
14 <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" xml:lang="ja" xml:id="replot">
16 <refname>replot</refname>
17 <refpurpose>カレントのグラフィックウインドウを新しい境界に
23 <synopsis>replot(area)</synopsis>
24 <synopsis>replot(area, axesHandles)</synopsis>
32 <para>大きさ 4の行ベクトル.</para>
36 <term>axesHandles</term>
38 <para>オプションの引数. 一つまたは複数のAxesを選択するための
48 <literal>replot</literal> はカレントのグラフィックウインドウの内容を
49 <literal>area = [xmin,ymin, xmax,ymax]</literal>のかの<literal>area = [xmin,ymin,zmin, xmax,ymax,zmax]</literal>で定義した新しい境界内に
52 <para>この変換はaxesHandles引数でAxesグラフィックハンドルにより指定された特定の軸に
54 新しい境界はカレントの図のカレントの軸に適用されます.
55 変換はこれらの軸の<literal>data_bounds</literal>の値を変更します.
58 <literal>tight_limits</literal>も
59 これらの境界を厳密に選択するために "on" に設定する必要があります
62 <link linkend="axes_properties">axes_properties</link>を参照ください).
67 <programlisting role="example"><![CDATA[
78 <programlisting role="example"><![CDATA[
83 replot([-1,-1,10,2],f.children(1)) // axesハンドルの値を指定
84 replot([-3,-2,8,4],f.children(2))
90 replot([-1,-1,10,2],f2.children(1))
91 replot([-3,-2,8,4],f2.children(2))
93 <programlisting role="example"><![CDATA[
94 //値は%nanで示さ端子は変更されません。
95 x = linspace(0,360,200).';
97 plot2d(x,[sind(x) tand(x)])
99 ax.data_bounds // 初期限界
100 replot([%nan,-10,%nan,10]) // YminとYmaxのだけ変更され
101 ax.data_bounds // 新しい制限
104 x = linspace(-4,4,100);
106 R = (X-0.5).^2 + (X.'+0.7).^2;
110 f.color_map = autumncolormap(100);
114 replot([-5 0 -0.4 0 5 0.5])
116 // いくつかのグラフィカルなマーカーを同時にトリミングすることができます。
118 x = linspace(-%pi,%pi,400);
120 plot2d(x,sin(1 ./sqrt(abs(x))))
123 plot2d(x,sinh(sqrt(abs(x))))
125 plot2d(x,cos(1 ./sqrt(abs(x))))
129 replot([-1 %nan 1.5 %nan], [ax1 ax2])
132 <refsection role="see also">
134 <simplelist type="inline">
136 <link linkend="zoom_rect">zoom_rect</link>
139 <link linkend="rubberbox">rubberbox</link>
142 <link linkend="axes_properties">axes_properties</link>
150 <revnumber>5.5.0</revnumber>
157 <para>いくつかのグラフィック主催者は、今、同時にサイズを変更することができます</para>
161 <literal>%nan</literal>であるように、結合を維持するために使用することができる。