Home Online Manual
Top
Back: surfex_lib
Forward: plotRot
FastBack:
FastForward:
Up: surfex_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.9.4.1 plotRotated

Procedure from library surfex.lib (see surfex_lib).

Usage:
plotRotated(poly p, list coords, list #)
This opens the external program surfex for drawing the surface given by p, seen as a surface in the real affine space with coordinates coords. The optional int parameter can be used to set plotting quality.

Assume:
coords is a list of three variables.
The basering is of characteristic zero and without parameters.

Example:
 
LIB "surfex.lib";
"Example:"; 
// An easy example: a surface with four conical nodes.
ring r = 0, (x,y,z), dp;
poly cayley_cubic = x^3+y^3+z^3+1^3-1/4*(x+y+z+1)^3;
//     plotRotated(cayley_cubic, list(x,y,z));
// A difficult example: a surface with a one-dimensional real component!
poly whitney_umbrella = x^2*z-y^2;
// The Whitney Umbrella without its handle:
plotRotated(whitney_umbrella, list(x,y,z));
// The Whitney Umbrella together with its handle:
plotRotated(whitney_umbrella, list(x,y,z), 2);