.. highlightlang:: us .. index:: AutoScaleLog .. _autoscalelog: AutoScaleLog ============ .. us.tag AutoScaleLog ENGLISH :ref:`AutoScaleLog` calculates parameters for logarithmic scaled diagram axes. .. function:: rvScale = AutoScaleLog(rsMin, rsMax) .. us.return **Return Value** *rvScale* = [rsMin, rsMax, rsDelta, rsFormat] *rvScale* is a real vector with 4 elements: *rvScale* = [rsMin, rsMax, rsDelta, rsFormat]. *rsMin* is a recommended minimum value for the diagram axis and *rsMax* a recommended maximum value. *rsDelta* is the recommended distance between 2 labels and *rsFormat* is the recommended number of decimal places for the labels. If *rsFormat* is negative, an exponential format is recommended. .. us.params **Parameters** .. uparam:: rsMin *rsMin* is the approximate minimum value of the axis. .. uparam:: rsMin *rsMin* is the approximate maximum value of the axis. .. us.example **Example** :: * AutoScaleLog(-230.9, 1112.13) 1.0000 10000.0000 10.0000 0.0000 * AutoScaleLog(-230.19212, 11112212.1321) 1.0000 1e+008 10.0000 -1.0000 .. seealso:: :ref:`AutoScaleLin` :sub:`id-474452`