axis_x_max#
- viewport_bounds.axis_x_max(p0: float) int #
Sets the minimum value for the x/y/z axis
If the length attribute is set to rounded the resulting min/max x/y/z value will be modified from the specified value- Args:
- p0:
‘min’ the minimum axis value
- p1:
‘max’ the maximum axis value
- Examples:
ensight.view.bounds("ON") ensight.viewport.select_begin(0) ensight.viewport_bounds.axis_linewidth(1) ensight.viewport_bounds.axis_rgb(1.0000e+00,0.0000e+00,1.0000e+00) ensight.viewport_bounds.length("as_specified") ensight.viewport_bounds.axis_x_min(0.2) ensight.viewport_bounds.axis_x_max(0.6) ensight.viewport_bounds.axis_y_min(0.0) ensight.viewport_bounds.axis_y_max(1.0) ensight.viewport_bounds.axis_z_min(-1.) ensight.viewport_bounds.axis_z_max(1.)
- Returns:
zero on success, non-zero on error