On this page
matplotlib.pyplot.xscale
matplotlib.pyplot.xscale(value, **kwargs)[source]-
Set the x-axis scale.
Parameters: -
value : {"linear", "log", "symlog", "logit", ...} -
scaling strategy to apply
See also
matplotlib.scale.LinearScale- linear transform
matplotlib.scale.LogTransform- log transform
matplotlib.scale.SymmetricalLogTransform- symlog transform
matplotlib.scale.LogisticTransform- logit transform
Notes
Different kwargs are accepted, depending on the scale. See the
scalemodule for more information. -
Examples using matplotlib.pyplot.xscale
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.0.0/api/_as_gen/matplotlib.pyplot.xscale.html