Logo Search packages:      
Sourcecode: matplotlib version File versions

custom_scale_example::MercatorLatitudeScale Class Reference

List of all members.


Detailed Description

Scales data in range -pi/2 to pi/2 (-90 to 90 degrees) using
the system used to scale latitudes in a Mercator projection.

The scale function:
  ln(tan(y) + sec(y))

The inverse scale function:
  atan(sinh(y))

Since the Mercator scale tends to infinity at +/- 90 degrees,
there is user-defined threshold, above and below which nothing
will be plotted.  This defaults to +/- 85 degrees.

source:
http://en.wikipedia.org/wiki/Mercator_projection

Definition at line 4 of file custom_scale_example.py.


Public Member Functions

def __init__
def __init__
def __init__
def get_transform
def get_transform
def get_transform
def limit_range_for_scale
def limit_range_for_scale
def limit_range_for_scale
def set_default_locators_and_formatters
def set_default_locators_and_formatters
def set_default_locators_and_formatters

Public Attributes

 thresh

Static Public Attributes

string name = 'mercator'

Classes

class  InvertedMercatorLatitudeTransform
class  MercatorLatitudeTransform

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index