next up previous contents index
Next: 5.6 Printing and Inserting LATEX Up: 5.5 3D Plotting Previous: 5.5.4 Sub-windows

5.5.5 A Set of Figures

In this next example we give a brief summary of different plotting functions for 2D or 3D graphics. The figure  5.13 is obtained and inserted in this document with the help of the command Blatexprs.

//some examples
str_l=list();
//
str_l(1)=['plot3d1();';
      'title=[''plot3d1 : z=sin(x)*cos(y)''];';
      'xtitle(title,'' '','' '');'];
//
str_l(2)=['contour();';
      'title=[''contour ''];';
      'xtitle(title,'' '','' '');'];
//
str_l(3)=['champ();';
      'title=[''champ ''];';
      'xtitle(title,'' '','' '');'];
//
str_l(4)=['t=%pi*(-10:10)/10;';
          'deff(''[z]=surf(x,y)'',''z=sin(x)*cos(y)'');';
          'rect=[-%pi,%pi,-%pi,%pi,-5,1];';
          'z=feval(t,t,surf);';
          'contour(t,t,z,10,35,45,''X@Y@Z'',[1,1,0],rect,-5);';
          'plot3d(t,t,z,35,45,''X@Y@Z'',[2,1,3],rect);';
          'title=[''plot3d and contour ''];';
          'xtitle(title,'' '','' '');'];
//
for i=1:4,xinit('d7a11.ps'+string(i)');
          execstr(str_l(i)),xend();end


  
Figure 5.13: Group of figures
\begin{figure}\begin{center}
\setlength{\unitlength}{1cm}
\fbox{\begin{picture}...
...11.ps}
\special{psfile=figures/d7a11.ps}
\end{picture}}\end{center}
\end{figure}


next up previous contents index
Next: 5.6 Printing and Inserting LATEX Up: 5.5 3D Plotting Previous: 5.5.4 Sub-windows
Scilab Group