sem

Import packages

[1]:
import porespy as ps
import matplotlib.pyplot as plt
ps.visualization.set_mpl_style()

Create image:

[2]:
im = ps.generators.blobs([100, 100, 100])

Display image:

[3]:
x = ps.visualization.sem(im = im)

fig, ax = plt.subplots(figsize=[7, 7]);
plt.axis(False);
plt.imshow(x);
plt.title('default')
[3]:
Text(0.5, 1.0, 'default')
../../../_images/examples_visualization_howtos_sem_6_1.png

axis

[4]:
x = ps.visualization.sem(im = im, axis = 1)

fig, ax = plt.subplots(figsize=[7, 7]);
plt.axis(False);
plt.imshow(x);
plt.title('axis = 1')
[4]:
Text(0.5, 1.0, 'axis = 1')
../../../_images/examples_visualization_howtos_sem_8_1.png