美文网首页
python proplot scale 坐标轴样式 对数坐标

python proplot scale 坐标轴样式 对数坐标

作者: 晨阳ouc | 来源:发表于2021-08-11 21:05 被阅读0次

    Scale

    Scale(scale*args**kwargs)[source]

    Return a ScaleBase instance. This function is used to interpret the xscale, xscale_kw, yscale, and yscale_kw arguments when passed to format.

    Parameters

    scale (ScaleBase, str, or (str, …)) – The axis scale specification. If a ScaleBase instance already, the input argument is simply returned. Otherwise, scale should be a string corresponding to one of the “registered” axis scales or axis scale presets (see below table).

    If scale is a list or tuple and the first element is a “registered” scale name, subsequent elements are passed to the scale class as positional arguments.

    KeyClassDescription

    'linear'LinearScaleLinear

    'log'LogScaleLogarithmic

    'symlog'SymmetricalLogScaleLogarithmic beyond finite space around zero

    'logit'LogitScaleLogistic

    'inverse'InverseScaleInverse

    'function'FuncScaleArbitrary forward and backwards transformations

    'sine'SineLatitudeScaleSine function (in degrees)

    'mercator'MercatorLatitudeScaleMercator latitude function (in degrees)

    'exp'ExpScaleArbitrary exponential function

    'power'PowerScaleArbitrary power function

    'cutoff'CutoffScaleArbitrary piecewise linear transformations

    'quadratic'PowerScale (preset)Quadratic function

    'cubic'PowerScale (preset)Cubic function

    'quartic'PowerScale (preset)Quartic function

    'db'ExpScale (preset)Ratio expressed as decibels

    'np'ExpScale (preset)Ratio expressed as nepers

    'idb'ExpScale (preset)Decibels expressed as ratio

    'inp'ExpScale (preset)Nepers expressed as ratio

    'pressure'ExpScale (preset)Height (in km) expressed linear in pressure

    'height'ExpScale (preset)Pressure (in hPa) expressed linear in height

    Other Parameters

    *args, **kwargs – Passed to the ScaleBase class.

    Returns

    ScaleBase – The scale instance.

    Next  Previous

    相关文章

      网友评论

          本文标题:python proplot scale 坐标轴样式 对数坐标

          本文链接:https://www.haomeiwen.com/subject/lbrtfltx.html