!!!!!!!!!!!!!!!!!! DEBUGGED VERSION !!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! IGNORE PREVIOUS VERSIONS !!!!!!!!!!!!!!!!!!!!!!! This module was created on HP730. The module "contour to postscript" is the ultimate contour module. All the things I expect of a contour module are built in this one! Automatic scaling, min/max scaling, typein levels. Colormap port to color the contours. Postscript output for contours: straight lines on the plot ! If the dataset is positioned in e.g. the y-z plane, only the y-z coordinates are used in the Postscript output. The only thing you have to do is change the path to the HEADERFILE in the Makefile.cont2post to this directory and the file header.ps. After compilation the world of interactive contour and Postscript generation opens up to you. For information: robk@duttwta.tn.tudelft.nl Rob Kuyper Faculty of Applied Physics University of Technology Delft The Netherlands. P.S.: To my opinion, this module should be present in the Supported library. NAME contour to postscript - contour to postscript is a mapper module which creates contours on a 2D data set. SUMMARY Name contour to postscript Type Mapper Inputs InputField - field 2D 3-space scalar float REQUIRED InputCmap - colormap OPTIONAL Outputs OutputGeom - geom Parameters Name Type Default Choices level choice radio_buttons Choice List Separator Default Boundary toggle 0 1 0 nr of levels typein_integer Integer Min Integer Max Integer Default Postscript output toggle 0 1 0 Postscript file typein Text max size in cm typein_integer Integer Min Integer Max Integer Default output statistics textblock Comment Char Text DESCRIPTION Contour to postscript is a mapper module which creates contours on a 2D data set. The 2D dataset can be a uniform, rectilinear or a irregular field. All the properties of a fine contour module are present in this module! The contours can be optionally colored by a colormap. The levels of the contours can be chosen by automatic scaling, min/max scaling (with typein min/max) or with typein levels. Dependent on the choice of the level distribution method, typein boxes or dials appear. Output statistics are generated in a text block. The minimum and maximum value of the field is given in an adjustible format. If the number of levels is less than 24, the levels are given as well. The module optionally creates Postscript output. The postscript file contains "moveto" and "lineto" commands, so the resolution of the Postscript printer will be used and straight lines appear on the plot (!). If the Postscript output is chosen, a typein for the filename and the size of the plot appear. INPUTS InputField - field 2D 3-space scalar float InputCmap - colormap PARAMETERS level choice (radio_buttons): do you want automatic scaling, typein min/max scaling or chose the contour levels yourself ? Boundary (toggle) do you want to see the boundary of the geometry? nr of levels (typein_integer) how much contour levels do you want? Postscript output (toggle) do you want to create a Postscript file of the geometry? Postscript file (typein) what is the name of the Postscript file you want output written to? max size in cm (typein_integer) what size do you want for the plot in the Postscript file? output statistics (textblock) some information on your field and the contour levels. OUTPUTS OutputGeom - geom EXAMPLE NETWORKS RELATED MODULES SEE ALSO