Top
Back: texDrawTropical
Forward: texDrawTriangulation
FastBack: polymake_lib
FastForward: Contributed
Up: tropical_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.2.21 texDrawNewtonSubdivision

Procedure from library tropical.lib (see tropical_lib).

Usage:
texDrawNewtonSubdivision(graph[,#]); graph list, # optional list

Assume:
graph is the output of tropicalCurve

Return:
string, the texdraw code of the Newton subdivision of the tropical plane curve encoded by graph

Note:
- the list # should contain only one entry which is a string; if this string is 'max', then the tropical curve is considered with respect to the maximum; otherwise the curve is considered with respect to the minimum and the string can be used to insert further texdraw commands (e.g. to have a lighter image as when called from inside conicWithTangents); the list # is optional and may as well be empty
- note that lattice points in the Newton subdivision which are black correspond to markings of the marked subdivision, while lattice points in grey are not marked

Example:
 
LIB "tropical.lib";
ring r=(0,t),(x,y),dp;
poly f=x+y+x2y+xy2+1/t*xy;
list graph=tropicalCurve(f);
// compute the texdraw code of the Newton subdivision of the tropical curve 
texDrawNewtonSubdivision(graph);


Top Back: texDrawTropical Forward: texDrawTriangulation FastBack: polymake_lib FastForward: Contributed Up: tropical_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-0, Mar 2009, generated by texi2html.