When banded distribution is used for flooding,Ī solid color is used between contour levels. The distribution of colors used for contour flooding may be banded orĬontinuous. ContourType.Flood - Floods regions between contour lines.ContourType.Lines - Draws lines of constant value of the.The Index of the ContourGroup to use for contour lines.Ĭontour line thickness as a percentage of frame width. The contour group to use for contour lines. The Index of the ContourGroup to use for flooding. save_png ( 'isosurface_group.png', 600 ) isosurface_selection = IsoSurfaceSelection. isosurface ( 0 ) # type: IsosurfaceGroup iso. join ( examples_dir, '3D_Volume', 't' ) dataset = tp. tecplot_examples_directory () datafile = path. save_png ( 'cstream_contours.png', 600 )įrom os import path import tecplot as tp from import IsosurfaceGroup from nstant import LightingEffect, Color, IsoSurfaceSelection examples_dir = tp. show_overrides = True # turn on override 0, coloring the first 4 levels red contour_override = contour_filter. reset ( 10 ) # turn on colormap overrides for this contour contour_filter = contour. colormap_name = 'Sequential - Yellow/Green/Blue' contour. show_contour = True # by default, contour 0 is the one that's shown, # set the contour's variable, colormap and number of levels contour = plot. plot () # show boundary faces and contours surfaces = plot. load_tecplot ( datafile ) # set plot type to 2D field plot frame = tp. save_png ( 'poly2d_filtered.png', 600 )įrom os import path import tecplot as tp from nstant import * # load the data exdir = tp. fast_continuous_flood = False contour_filter. variable ( 'P' ) # cycle through the colormap three times and reversed # show a faithful (non-approximate) continuous distribution contour_filter = contour. From os import path import tecplot as tp from nstant import * # load the data exdir = tp.
0 Comments
Leave a Reply. |