Vincent COUVERT [Mon, 31 Mar 2014 08:06:20 +0000 (10:06 +0200)]

index 303442c..2d93cb3 100644 (file)
@@ -236,19 +236,31 @@ param3d1([sin(t),sin(2*t)],[cos(t),cos(2*t)],..
list([t/10,sin(t)],[3,2]),35,45,"X@Y@Z",[2,3])

xdel(20);
-a=get("current_axes");//get the handle of the newly created axes
+a=gca();//get the handle of the newly created axes
t=[0:0.1:5*%pi]';
-param3d1([sin(t),sin(2*t)],[cos(t),cos(2*t)],[t/10,sin(t)])
-a.rotation_angles=[65,75];
+param3d1([sin(t),sin(2*t)],[cos(t),cos(2*t)],[t/10,sin(t)]);
+a.rotation_angles=[65,75];
a.data_bounds=[-1,-1,-1;1,1,2]; //boundaries given by data_bounds
a.thickness = 2;
-h=a.children //get the handle of the param3d entity: an Compound composed of 2 curves
-h.children(1).foreground = 3 // first curve
+h=a.children; //get the handle of the param3d entity: an Compound composed of 2 curves
+h.children(1).foreground = 3; // first curve
curve2 = h.children(2);
curve2.foreground = 6;
curve2.mark_style = 2;
]]></programlisting>
-        <scilab:image>param3d1();</scilab:image>
+        <scilab:image>
+            a=gca();
+            t=[0:0.1:5*%pi]';
+            param3d1([sin(t),sin(2*t)],[cos(t),cos(2*t)],[t/10,sin(t)]);
+            a.rotation_angles=[65,75];
+            a.data_bounds=[-1,-1,-1;1,1,2];
+            a.thickness = 2;
+            h=a.children;
+            h.children(1).foreground = 3;
+            curve2 = h.children(2);
+            curve2.foreground = 6;
+            curve2.mark_style = 2;
+        </scilab:image>
</refsection>
<refsection role="see also">
<title>See Also</title>
index d8f5eac..03f9b51 100644 (file)
@@ -1066,7 +1066,7 @@ ordmmd_fr_FR_1.png=65695a27c9eaf674ba4eac782ec20eba
ordmmd_pt_BR_1.png=65695a27c9eaf674ba4eac782ec20eba
ordmmd_ru_RU_1.png=65695a27c9eaf674ba4eac782ec20eba
orthProj_1.png=dd3a07c86d54c910fc4f253c576f1532
-param3d1_1.png=e95387c52bc0f1f2bfc674b62c9bb537
+param3d1_1.png=8f23378bea1aa88c53ebe32990958db7
param3d_1.png=9160991c6c607c8531dff4fe9096a3e2
percentasn_1.png=2c864619bcf4876ed395f49798f0f283
percentsn_1.png=64ebf9395ff1337fe97136c4b989e264
index 5be448e..841efca 100644 (file)
Binary files a/scilab/modules/helptools/images/param3d1_1.png and b/scilab/modules/helptools/images/param3d1_1.png differ