milk_drop does not really have a reason to be integrated in Scilab if it is not on display.
Change-Id: I4edb497839b82e53558b310477cea799a1597156
* Bug #5016 fixed - condestsp could return different results when repeated calls were performed.
+* Bug #7047 fixed - milk_drop is now obsolete. It will be removed in Scilab 5.5.1, but will be kept as a demo.
+
* Bug #7570 fixed - The switch criterion on x and y is now explicited in beta() help page.
* Bug #7705 fixed - In the Genetic algorithms help pages, documented the
* fprintf removed, please use mfprintf for files opened with mopen or write for files
opened with file instead.
+* milk_drop tagged as obsolete. Will be removed in Scilab 5.5.1.
+
Scilab Bug Fixes
================
"Set of rectangles" ,"basic_functions_5.dem.sce" ; ..
"Colored matrix" ,"basic_functions_6.dem.sce" ; ..
"Colored histogram" ,"basic_functions_7.dem.sce" ; ..
-"Pie Chart" ,"basic_functions_8.dem.sce" ]
+"Pie Chart" ,"basic_functions_8.dem.sce" ; ..
+"Milk Drop" ,"basic_functions_9.dem.sce" ]
subdemolist(:,2) = demopath + subdemolist(:,2);
-clear demopath;
\ No newline at end of file
+clear demopath;
--- /dev/null
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
+//
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+
+function demo_basic_functions9()
+
+ mode(-1);
+
+ my_handle = scf(100001);
+ clf(my_handle,"reset");
+ demo_viewCode("basic_functions_9.dem.sce");
+ my_plot_desc = "milk drop";
+ my_handle.figure_name = my_plot_desc;
+
+ expr=[
+ "x = -2:0.1:2;"
+ "y = x;"
+ "z = eval3d(milk_drop, x, y);"
+ "plot3d(x, y, z)"];
+ execstr(expr);
+ // DEMO END
+
+endfunction
+
+demo_basic_functions9();
+clear demo_basic_functions9;
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) INRIA - Serge Steer
- *
+ *
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at
+ * are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
-->
<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="en" xml:id="milk_drop">
<refnamediv>
<refname>milk_drop</refname>
- <refpurpose>Milk drop 3D function</refpurpose>
+ <refpurpose>
+ Milk drop 3D function. <emphasis role="bold">This function is obsolete.</emphasis>
+ </refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
</refsection>
<refsection>
<title>Description</title>
+ <warning>
+ This function is obsolete.
+ It will be permanently removed in Scilab 5.5.1
+ </warning>
<para>
<literal>milk_drop</literal> is a function representing the surface of a milk drop
- falling down into milk. It
- can be used to test functions <literal>eval3d</literal> and <literal>plot3d</literal>.
+ falling down into milk. It can be used to test functions
+ <literal>eval3d</literal> and <literal>plot3d</literal>.
</para>
</refsection>
<refsection>
<title>Examples</title>
- <programlisting role="example"><![CDATA[
+ <programlisting role="example"><![CDATA[
x=-2:0.1:2;
y=x;
z=eval3d(milk_drop,x,y);
</member>
</simplelist>
</refsection>
+ <refsection>
+ <title>History</title>
+ <revhistory>
+ <revision>
+ <revnumber>5.5.0</revnumber>
+ <revdescription>
+ Function tagged as obsolete. Will be removed in 5.5.1.
+ </revdescription>
+ </revision>
+ </revhistory>
+ </refsection>
</refentry>
// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
function [z]=milk_drop(x,y)
+ warnobsolete(scilabRemovedVersion="5.5.1");
if argn(2)<>2 then
error(msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"), "milk_drop", 2));