Closed liuzg-23 closed 2 years ago
sorry - that is not implemented, what you can do is to add an array and colorize that:
tet = TetMesh('initial.vtk')
msh=tet.slice(origin=(0,0,0),normal=(0,0,1))
logmat = np.log(msh.celldata['material'])
msh.cmap("coolwarm", logmat, on='cells')
msh.addScalarBar3D(
title='log(\beta_n )',
)
Ok, I got it, thanks very much and best regards.
Hello, this is my code, can you tell me that how can I show the color bar using a logarithm method ? Thanks very much.