\verb|--> deff('[z] = f(x, y)', 'z = sin(x) * cos(y)')|
\verb|--> xset('colormap', jetcolormap(32))|
\verb|--> x = %pi * [-1:0.05:1]'; y = x; z = feval(x, y, f);|
\verb|--> subplot(2, 2, 1)|
\\
\verb|--> grayplot(x, y, z)|
\verb|--> subplot(2, 2, 2)|
\\
\verb|--> contour2d(x, y, z, 5)|\\
\verb| ans =|\\
\verb| |${\pmatrix{0.6666667&0.3333333&0&-0.3333333&-0.6666667}}$
\verb|--> subplot(2, 2, 3)|
\\
\verb|--> plot3d1(x, y, z, 0, 90)|
\verb|--> subplot(2, 2, 4)|
\\
\verb|--> plot3d1(x, y, z, 70, 70)|
La ligne débutant par \verb|.f| provoque l'insertion de la figure qui
est apparente au moment de l'exécution du script. Cette figure est
obtenue à partir de Scilab au format EPS, elle est ensuite convertie en
PDF par une routine interne au script.
\begin{center}
\includegraphics[width=0.7\linewidth]{image01-001.pdf}
\end{center}

—
Syracuse — Dernière modification : 21 mai 2007 (0.07s - 3210451 - 6 juillet 2008)