Name
c3d — Contour with 3D surfaces
Syntax
c3d i | v | s | n | l [col] [map] [csh] [sav] [bsu] [bou] [nor] [eli limit]
Description
Map 3D grid (cube) with contour surfaces representing the same iso value.
Arguments
i increment
Enter increment value
v _c_val1_ [_c_val2_ _c_val3_ ...]
Enter distinct contour level values
s start increment stop
Enter start increment stop values
n number_of_levels
Enter number_of_levels
col [red | gre |...]
Use the same colour [red | gre |...] on all surfaces.
map
Map the iso surfaces wth the map command.
csh
Color the iso surfaces with shifting colors.
sav
Color the iso surfaces with shifting colors.
csh
Surface(s) will be saved in ^c3d0, ^c3d1, ^c3d2, ....
bsu
Boundary surface around defined data.
nor
Smooth display with normal (Gouraud) vectors.
eli limit
Eliminate isosurfaces with number of points lower than limit.
Examples
Ex.1: Contouring of 3d surfaces in a cube
# generate cube and display 3D contours mak ran 11 ;# make 11 random points gr3 12 12 12 ;# make cube of dimension 12 x 12 x 12 dis opa .3 ;# display cube with opacity .3 c3d n 4 ;# contour 4 iso surfaces
The above example produces this image.
3D contours in a cube
See also
acm - Color band mapping, ima sla, sma - Spline map, map - Map display