next up previous contents index
Next: Using the colorbar Up: General Meshes Previous: Mesh2D

Methods on Mesh2d

 

   

GRAPE(mesh, "display")()
MESH2D *mesh

The Mesh2d instance mesh is rendered on the standard device in a default manner.

   

GRAPE(mesh,"isoline")(select,f_data,linescal,colorscal,offsetscal,highscal,max,min)
GRAPE(mesh, "isoline-disp")()
GRAPE(mesh, "isoline-select-disp")()
MESH2D *mesh
int select /* = 1 for select method, else 0 */
F_DATA2D *f_data
double linescal,colorscal,offsetscal,highscal,max,min

These methods display isolines (in grid mode) or iso-colored patches (in patch mode). Using the -select method, only specified isolines are drawn (compare the Colorbar documentation, Section 6.6). All parameters are similar to the Fe2d isoline method; f_data defines a function to be displayed; if this pointer is NIL, the current data function from mesh is displayed.

       

GRAPE(mesh, "value-min-max")(min, max)
GRAPE(mesh, "value-min-max-send")()
MESH2D *mesh
double *min, *max

These methods compute minimal and maximal values of the current data function on the mesh's vertices (may be used to set a Colorbar range, e.g.). The -send method prints the values to stdout.



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.