@c ---content LibInfo---
@comment This file was generated by doc2tex.pl from d2t_singular/surf_lib.doc
@comment DO NOT EDIT DIRECTLY, BUT EDIT d2t_singular/surf_lib.doc INSTEAD
@c library version: (1.19.2.6,2002/07/17)
@c library file: ../Singular/LIB/surf.lib
@cindex surf.lib
@cindex surf_lib
@table @asis
@item @strong{Library:}
surf.lib
@item @strong{Purpose:}
    Procedures for Graphics with Surf
@item @strong{Author:}
Hans Schoenemann,
@*the program surf is written by Stefan Endrass

@item @strong{Note:}
To use this library requires the program @code{surf} to be installed.
 @code{surf} is only available for Linux PCs and Sun workstations.
 You can download @code{surf} either from
  @uref{http://sourceforge.net/projects/surf}
  or from @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils/}.

@end table

@strong{Procedures:}
@menu
* plot:: plots plane curves and surfaces
@end menu
@c ---end content LibInfo---

@c ------------------- plot -------------
@node plot,,, surf_lib
@subsubsection plot
@cindex plot
@c ---content plot---
Procedure from library @code{surf.lib} (@pxref{surf_lib}).

@table @asis
@item @strong{Usage:}
plot(I); I ideal or poly

@item @strong{Assume:}
I defines a plane curve or a surface given by one equation

@item @strong{Return:}
nothing

@item @strong{Note:}
requires the external program 'surf' to be installed

@end table
@strong{Example:}
@smallexample
@c skipped computation of example plot d2t_singular/surf_lib.doc:53 
LIB "surf.lib";
// ---------  plane curves ------------
ring rr0 = 0,(x1,x2),dp;
ideal I = x1^3 - x2^2;
plot(I);
ring rr1 = 0,(x,y,z),dp;
ideal I(1) = 2x2-1/2x3 +1-y+1;
plot(I(1));
//  ---- Singular Logo --------------
poly logo = ((x+3)^3 + 2*(x+3)^2 - y^2)*(x^3 - y^2)*((x-3)^3-2*(x-3)^2-y^2);
plot(logo);
// Steiner surface
ideal J(2) = x^2*y^2+x^2*z^2+y^2*z^2-17*x*y*z;
plot(J(2));
// --------------------
plot(x*(x2-y2)+z2);
// E7
plot(x^3-x*y^3+z^2);
// Whitney umbrella
plot(z^2-x^2*y);
@end smallexample
@c ---end content plot---
