Source de image01.tex
Image PNG
%@P:scilab

%@S:

%@Commande-1
\verb|--> deff('[z] = f(x, y)', 'z = sin(x) * cos(y)')|
 
%@Commande-2
\verb|--> xset('colormap', jetcolormap(32))|
 
%@Commande-3
\verb|--> x = %pi * [-1:0.05:1]'; y = x; z = feval(x, y, f);|
 
%@Commande-4
\verb|--> subplot(2, 2, 1)|
\\
%@Commande-5
\verb|--> grayplot(x, y, z)|
 
%@Commande-6
\verb|--> subplot(2, 2, 2)|
\\
%@Commande-7
\verb|--> contour2d(x, y, z, 5)|\\
\verb|   ans  =|\\
\verb|  |${\pmatrix{0.6666667&0.3333333&0&-0.3333333&-0.6666667}}$
 
%@Commande-8
\verb|--> subplot(2, 2, 3)|
\\
%@Commande-9
\verb|--> plot3d1(x, y, z, 0, 90)|
 
%@Commande-10
\verb|--> subplot(2, 2, 4)|
\\
%@Commande-11
\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}

 

Validation CSS Validation XHTMLSyracuse — Dernière modification : 21 mai 2007 (0.07s - 3210451 - 6 juillet 2008) vers le haut