393-bet
Shakl 16.9 - CutPlane filtri ishini namoyish etish
DataSetClipper
Filtr ma'lumotlar bazasini ma'lum bir sohaga o'rnatadi:
x, y, z = np.ogrid [- 7 : 7 : 0.5 , - 7 : 7 : 0.5 , - 1 : 7 : 0.5 ]
skalar = x * x + y * y - z * z
src = mlab.pipeline.scalar_field (skalar)
dsc = mlab.pipeline.data_set_clipper (src)
mlab.pipeline.glyph (dsc)
Shakl 16.10 - DataSetClipper filtrini namoyish etish
392
ExtractEdges
Ma'lumotlar to'plamidan hujayra chegaralarini oladi:
x, y, z = np.ogrid [- 7 : 7 : 0.5 , - 7 : 7 : 0.5 , - 1 : 7 : 0.5 ]
skalar = x * x + y * y - z * z
src = mlab.pipeline.scalar_field (skalar)
qirralar = mlab.pipeline.extract_edges (src)
mlab.pipeline.sface (qirralari)
mlab.show ()
Do'stlaringiz bilan baham: |