edit_x_axis_scaling#
- Spectral.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
. WhenFalse
, the log scale is used.- min_scale
str
,optional
Minimum scale value with units. The default is
None
.- max_scale
str
,optional
Maximum scale value with units. The default is
None
.- minor_tick_divs
int
,optional
Minor tick division. The default is
5
.- min_spacing
str
,optional
Minimum spacing with units. The default is
None
.- units
str
,optional
Units in the plot. The default is
None
.
- linear_scalingbool,
- Returns:
- bool
True
when successful,False
when failed.