stratum colormap#

一个用于显示RGT的colormap (created by Xinming Wu)

image
# sphinx_gallery_thumbnail_path = '_static/cigvis/colormap/03.png'

import numpy as np
import cigvis

d = np.fromfile('../../data/rgt/ux.dat', np.float32).reshape(128, 128, 128)

nodes, cbar = cigvis.create_slices(d, [[36], [28], [84]],
                                   cmap='stratum',
                                   return_cbar=True,
                                   label_str='stratum cmap for RGT')
nodes.append(cbar)

cigvis.plot3D(nodes, savename='example.png')

Total running time of the script: (0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery