Package reflectometry :: Package reduction :: Module ticker :: Class LogLocator

Class LogLocator

source code


Determine the tick locations for log axes
Nested Classes

Inherited from matplotlib.ticker.TickHelper: DummyAxis

Instance Methods
 
__init__(self, base=10.0, subs=[1.0], ntics=5)
place ticks on the location= base**i*subs[j]
source code
 
base(self, base)
set the base of the log scaling (major tick every base**i, i interger)
source code
 
subs(self, subs)
set the minor ticks the log scaling every base**i*subs[j]
source code
 
linear_tics(self, vmin, vmax) source code
 
__call__(self)
Return the locations of the ticks
source code
 
autoscale(self)
Try to choose the view limits intelligently
source code

Inherited from matplotlib.ticker.Locator: pan, refresh, view_limits, zoom

Inherited from matplotlib.ticker.TickHelper: create_dummy_axis, set_axis, set_bounds, set_data_interval, set_view_interval

Class Variables

Inherited from matplotlib.ticker.TickHelper: axis

Method Details

__call__(self)
(Call operator)

source code 
Return the locations of the ticks
Overrides: matplotlib.ticker.Locator.__call__

autoscale(self)

source code 
Try to choose the view limits intelligently
Overrides: matplotlib.ticker.Locator.autoscale