set dummy u,v |
set terminal postscript eps |
unset
key # titre unset xtics;unset ytics;unset ztics # graduation des axes unset border #axes set terminal postscript eps set out 'b.eps' replot set term pop |
\documentclass[a4paper,10pt]{article} \usepackage{graphicx} \begin{document} Un document LaTeX avec le dessin d'un tore \begin{center} \includegraphics[scale=.8]{b.eps} \end{center} \end{document} |
[12:21 dehon/tex/M2topalg] maxima Maxima 5.13.0 http://maxima.sourceforge.net Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. This is a development version of Maxima. The function bug_report() provides bug reporting information. (%i1) batch("moebius-1.txt"); batching #p/home/at/dehon/tex/M2topalg/moebius-1.txt u u (%i2) f(u, r) := [cos(u) (0.2 r cos(-) + 1), sin(u) (0.2 r cos(-) + 1), 2 2 u 0.2 r sin(-)] 2 u u (%o2) f(u, r) := [cos(u) (0.2 r cos(-) + 1), sin(u) (0.2 r cos(-) + 1), 2 2 u 0.2 r sin(-)] 2 (%i3) load(draw) (%o3) /usr/share/maxima/5.13.0/share/draw/draw.lisp (%i4) draw3d(file_name = moebius, surface_hide = true, xu_grid = 50, yv_grid = 10, zrange = [- 0.4, 0.4], rot_horizontal = 24, rot_vertical = 50, axis_3d = false, xtics = false, ytics = false, ztics = false, palette = [3, 4, 6], colorbox = false, parametric_surface(f(u, r) , f(u, r) , f(u, r) , u, - %pi, %pi, r, - 1, 1)) 1 2 3 (%o4) [gr3d(parametric_surface)] (%i5) gnuplot_replot("set view ,,,.7"); (%o5) (%i6) gnuplot_replot(" set out 'm.eps';set terminal postscript eps"); |