Sahifa 1 sahifa


Download 341.46 Kb.
bet232/240
Sana02.01.2022
Hajmi341.46 Kb.
#189729
1   ...   228   229   230   231   232   233   234   235   ...   240
Bog'liq
Python. Ma'lumotlarni vizuallashtirish - 2020 yil

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




394-bet

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 ()




Download 341.46 Kb.

Do'stlaringiz bilan baham:
1   ...   228   229   230   231   232   233   234   235   ...   240




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling