edit_x_axis_scaling#

NearField.edit_x_axis_scaling(linear_scaling=True, min_scale=None, max_scale=None, minor_tick_divs=5, min_spacing=None, units=None)#

Edit the X-axis scaling settings.

Parameters:
linear_scalingbool, optional

Whether to use the linear scale. The default is True. When False, the log scale is used.

min_scalestr, optional

Minimum scale value with units. The default is None.

max_scalestr, optional

Maximum scale value with units. The default is None.

minor_tick_divsint, optional

Minor tick division. The default is 5.

min_spacingstr, optional

Minimum spacing with units. The default is None.

unitsstr, optional

Units in the plot. The default is None.

Returns:
bool

True when successful, False when failed.