From 7699a61874f5eff7abf0cb6045ac0636ac4afef1 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 13 Aug 2012 15:04:21 +0200 Subject: [PATCH] Update the example to avoid the warning 'Warning : redefining function: f . Use funcprot(0) to avoid this message' Change-Id: Iff73ad339ef7f0d4a4fca1efa16450b820578087 --- .../graphics/help/en_US/3d_plot/plot3d2.xml | 10 +++++----- .../graphics/help/ja_JP/3d_plot/plot3d2.xml | 2 +- .../graphics/help/pt_BR/3d_plot/plot3d2.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scilab/modules/graphics/help/en_US/3d_plot/plot3d2.xml b/scilab/modules/graphics/help/en_US/3d_plot/plot3d2.xml index afe889b..2035735 100644 --- a/scilab/modules/graphics/help/en_US/3d_plot/plot3d2.xml +++ b/scilab/modules/graphics/help/en_US/3d_plot/plot3d2.xml @@ -280,15 +280,15 @@ plot3d2(X,Y,Z); e=gce(); e.color_mode=4; // change color - f=e.data; - TL = tlist(["3d" "x" "y" "z" "color"],f.x,f.y,f.z,10*(f.z)+1); + f_data=e.data; + TL = tlist(["3d" "x" "y" "z" "color"],f_data.x,f_data.y,f_data.z,10*(f_data.z)+1); e.data=TL; e.color_flag=2; Examples - diff --git a/scilab/modules/graphics/help/ja_JP/3d_plot/plot3d2.xml b/scilab/modules/graphics/help/ja_JP/3d_plot/plot3d2.xml index 7602c4b..1f1c690 100644 --- a/scilab/modules/graphics/help/ja_JP/3d_plot/plot3d2.xml +++ b/scilab/modules/graphics/help/ja_JP/3d_plot/plot3d2.xml @@ -289,7 +289,7 @@ plot3d2(X,Y,Z); e=gce(); e.color_mode=4; // 色を変更 f=e.data; -TL = tlist(["3d" "x" "y" "z" "color"],f.x,f.y,f.z,10*(f.z)+1); +TL = tlist(["3d" "x" "y" "z" "color"],f_data.x,f_data.y,f_data.z,10*(f_data.z)+1); e.data=TL; e.color_flag=2; ]]> diff --git a/scilab/modules/graphics/help/pt_BR/3d_plot/plot3d2.xml b/scilab/modules/graphics/help/pt_BR/3d_plot/plot3d2.xml index 206718f..0a66005 100644 --- a/scilab/modules/graphics/help/pt_BR/3d_plot/plot3d2.xml +++ b/scilab/modules/graphics/help/pt_BR/3d_plot/plot3d2.xml @@ -291,8 +291,8 @@ plot3d2(X,Y,Z); // apenas no novo modo de gráficos e=gce(); e.color_mode=4; // mudando a cor -f=e.data; -TL = tlist(["3d" "x" "y" "z" "color"],f.x,f.y,f.z,10*(f.z)+1); +f_data=e.data; +TL = tlist(["3d" "x" "y" "z" "color"],f_data.x,f_data.y,f_data.z,10*(f_data.z)+1); e.data=TL; e.color_flag=2; ]]> -- 1.7.9.5