Logo Search packages:      
Sourcecode: matplotlib version File versions

units::units_scatter Namespace Reference

Detailed Description

Demonstrate unit handling

basic_units is a mockup of a true units package used for testing
purposed, which illustrates the basic interface that a units package
must provide to matplotlib.

The example below shows support for unit conversions over masked


tuple ax1 = fig.add_subplot(3,1,1)
tuple ax2 = fig.add_subplot(3,1,2, sharex=ax1)
tuple ax3 = fig.add_subplot(3,1,3, sharex=ax1)
tuple fig = figure()
tuple xsecs = secs*np.ma.MaskedArray((1,2,3,4,5,6,7,8), (1,0,1,0,0,0,1,0), np.float)

Generated by  Doxygen 1.6.0   Back to index