Changeset 7884761 in git


Ignore:
Timestamp:
Jul 12, 2007, 4:36:35 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
f7f49eac6f55bc638e945fa2b770a767a2a4f6d7
Parents:
62fb0b49885ad5337fe7d01209a7258cd28e8894
Message:
*gmg: doc.


git-svn-id: file:///usr/local/Singular/svn/trunk@10197 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/surfex.lib

    r62fb0b4 r7884761  
    11//last change: 2007/07/06 (Oliver Labs)
    22///////////////////////////////////////////////////////////////////////////////
    3 version="$Id: surfex.lib,v 1.4 2007-07-12 12:35:44 Singular Exp $";
     3version="$Id: surfex.lib,v 1.5 2007-07-12 14:36:35 Singular Exp $";
    44category="Visualization";
    55info="
    6 LIBRARY: surfex.lib      Procedures for visualizing Surfaces.
    7          This is still an alpha version (see http://www.AlgebraicSurface.net)
     6LIBRARY: surfex.lib      Procedures for visualizing and rotating surfaces.
     7@*         It is still an alpha version (see http://www.AlgebraicSurface.net)
    88AUTHOR: Oliver Labs
    9         This library uses the program surf and surfex.
    10         surfex was written by Oliver Labs and others, mainly Stephan Holzer.
    11         surf was written by Stefan Endrass and others.
     9        This library uses the program surf
     10        (written by Stefan Endrass and others)
     11        and surfex (written by Oliver Labs and others, mainly Stephan Holzer).
    1212
    1313NOTE:
    14  This library requires the program surfex to be installed.
    15  This software is used for producing raytraced images of the surfaces.
    16  You can download @code{surfex} from @uref{http://www.surfex.AlgebraicSurface.net}.
     14 This library requires the program surfex, surf and java to be installed.
     15 The software is used for producing raytraced images of surfaces.
     16 You can download @code{surfex} from http://www.surfex.AlgebraicSurface.net
    1717
    1818 surfex is a front-end for surf which aims to be easier to use than
     
    2525               with the coordinates coords(list)
    2626plotRot(poly);           Similar to plotRotated,
    27                          but tries to guess automatically
     27                         but guesses automatically
    2828                         which coordinates should be used
    2929plotRotatedList(varieties, coords); Plot the varieties given by the list varieties
     
    4545"
    4646USAGE: plotRot(poly p, list #)
    47 Similar to plotRotated, but tries to guess automatically
     47Similar to plotRotated, but guesses automatically
    4848which coordinates should be used.
    4949
     
    5151seen as a surface in the real affine space with coordinates coords.
    5252
    53 RETURN: the return code of the system command which executes surfex.
    54 
    55 ASSUME: The basering is characteristic zero and without parameters.
     53ASSUME: The basering is of characteristic zero and without parameters.
    5654"
    5755{
     
    8987    return(plotRotatedList(list(p), coords, #));
    9088}
    91 example {
     89example
     90{
    9291    "Example:"; echo=2;
    9392
     
    114113    // to compute the singular locus before calling surfex.
    115114    poly swallowtail = -4*y^2*z^3-16*x*z^4+27*y^4+144*x*y^2*z+128*x^2*z^2-256*x^3;
    116     plotRot(swallowtail, 3);
    117115}
    118116
     
    123121seen as a surface in the real affine space with coordinates coords.
    124122
    125 RETURN: the return code of the system command which executes surfex.
    126 
    127123ASSUME: coords is a list of three variables.
    128 The basering is characteristic zero and without parameters.
     124The basering is of characteristic zero and without parameters.
    129125"
    130126{
    131127    return(plotRotatedList(list(p), coords, #));
    132128}
    133 example {
     129example
     130{
    134131    "Example:"; echo=2;
    135132
     
    139136//     plotRotated(cayley_cubic, list(x,y,z));
    140137
    141     // An difficult example: a surface with a one-dimensional real component!
     138    // A difficult example: a surface with a one-dimensional real component!
    142139    poly whitney_umbrella = x^2*z-y^2;
    143140    // The Whitney Umbrella without its handle:
    144141    plotRotated(whitney_umbrella, list(x,y,z));
     142
    145143    // The Whitney Umbrella together with its handle:
    146144    plotRotated(whitney_umbrella, list(x,y,z), 2);
     
    154152seen as a surface in the real affine space with coordinates coords.
    155153
    156 RETURN: the return code of the system command which executes surfex.
    157 
    158 ASSUME: coords is a list of three variables,
    159 varieties is a list of ideals discribing the varieties to be shown.
    160 The basering is characteristic zero and without parameters.
     154ASSUME: coords is a list of three variables, varieties is a list of ideals
     155describing the varieties to be shown.
     156The basering is of characteristic zero and without parameters.
    161157"
    162158{
     
    402398see the example.
    403399
    404 RETURN: the return code of the system command which executes surfex.
    405 
    406 ASSUME: The basering is characteristic zero.
     400ASSUME: The basering is of characteristic zero.
    407401
    408402EXAMPLE: example plotRotatedListFromSpecifyList;
     
    414408    return(plotRotatedFromCode(str, #));
    415409}
    416 example {
     410example
     411{
    417412    "Example:"; echo=2;
    418413
     
    454449seen as a surface in the real affine space with coordinates x,y,z.
    455450The format for the list varieties is not fully documented yet;
    456 please, try to adapt the examples to your needs.
    457 
    458 RETURN: the return code of the system command which executes surfex.
     451please, see the examples below and try to adapt the examples to your needs.
    459452
    460453ASSUME:
    461 Passes the equations directly to surfex,
    462 i.e., the variable names should be correct, i.e. x,y,z.
     454Passes the equations directly to surfex, i.e., the variable names should
     455be x,y,z.
    463456The advantage is that one can use parameters p1, p2, ...;
    464457these will be passed to surfex.
     
    469462    return(plotRotatedFromCode(str, #));
    470463}
    471 example {
     464example
     465{
    472466    "Example:"; echo=2;
    473467
     
    502496it takes the surfex-code as a string and calls surfex.
    503497
    504 RETURN: the return code of the system command which executes surfex.
    505498"
    506499{
Note: See TracChangeset for help on using the changeset viewer.