summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent COUVERT <vincent.couvert@scilab.org>2011-05-11 10:02:37 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2011-05-11 10:04:20 +0200
commit2b507b2fdab3cb6ac7e32d5c89cc5efbdfb69ae6 (patch)
tree4ad3b2c5d66f0a80fbb0340df5c60c39ba450442
parentf1d75e451c224807b309816e24b930f086b14045 (diff)
downloadscilab-2b507b2fdab3cb6ac7e32d5c89cc5efbdfb69ae6.zip
scilab-2b507b2fdab3cb6ac7e32d5c89cc5efbdfb69ae6.tar.gz
Missing variable in example
Change-Id: I35acbc5b9eb88d902b61754397a1e8be2a19d69f
-rw-r--r--scilab/modules/graphics/help/en_US/3d_plot/comet3d.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/scilab/modules/graphics/help/en_US/3d_plot/comet3d.xml b/scilab/modules/graphics/help/en_US/3d_plot/comet3d.xml
index b51de8e..c9d9581 100644
--- a/scilab/modules/graphics/help/en_US/3d_plot/comet3d.xml
+++ b/scilab/modules/graphics/help/en_US/3d_plot/comet3d.xml
@@ -148,6 +148,7 @@ t = linspace(-%pi,%pi,500)';
148clf();comet3d(sin(5*t),sin(t),[t^2,ones(t)]) 148clf();comet3d(sin(5*t),sin(t),[t^2,ones(t)])
149 ]]></programlisting> 149 ]]></programlisting>
150 <programlisting role="example"><![CDATA[ 150 <programlisting role="example"><![CDATA[
151t = linspace(-%pi,%pi,500)';
151function z=traj(x,y),z=1.5*sin(x^2)*cos(y),endfunction 152function z=traj(x,y),z=1.5*sin(x^2)*cos(y),endfunction
152clf();comet3d(cos(t),sin(t),traj) 153clf();comet3d(cos(t),sin(t),traj)
153 ]]></programlisting> 154 ]]></programlisting>