scale#
- function.scale(*args, **kwargs) Any #
Sets the type of scale for value-separation of levels.
- Args:
- p0:
‘scale_type’
Can be one of the following types:
linear
quadratic
logarithmic
- Examples:
ensight.function.palette("N_temperature") ensight.function.type("continuous") ensight.function.modify_begin() ensight.function.scale("quadratic") ensight.function.edit_level(2) ensight.function.value(1.9373e+00) ensight.function.edit_level(3) ensight.function.value(7.7191e+00) ensight.function.edit_level(4) ensight.function.value(1.7356e+01) ensight.function.edit_level(5) ensight.function.value(3.0846e+01) ensight.function.edit_level(6) ensight.function.value(4.8192e+01) ensight.function.modify_end()
- Returns:
zero on success, non-zero on error