
@wOGc           @   sg  d  Z  d d k Z d d k Z d d k l Z l Z l Z l Z l Z l	 Z	 l
 Z
 l Z d d k Z d d k l Z d d k l Z y d d k l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l  Z  l! Z! l" Z" l# Z# l$ Z$ l% Z% l& Z& l' Z' l( Z( l) Z) l* Z* l+ Z+ l, Z, l- Z- l. Z. l/ Z/ l0 Z0 l1 Z1 l2 Z2 l3 Z3 l4 Z4 l5 Z5 l6 Z6 Wn g  Z7 n Xd d k Z e i8 i9 Z7 d d k: l; Z; l< Z< l= Z= l> Z> l? Z? l@ Z@ lA ZA lB ZB lC ZC lD ZD lE ZE lF ZF lG ZG lH ZH lI ZI lJ ZJ lK ZK lL ZL lM ZM lN ZN lO ZO lP ZP lQ ZQ lR ZR lS ZS lT ZT lU ZU lV ZV lW ZW lX ZX lY ZY lL ZL lZ ZZ l[ Z[ l\ Z\ l] Z] l^ Z^ l_ Z_ l` Z` la Za lb Zb lc Zc d d k Td d kd Td d ke Td d kf Td d	 k: l; Z; l< Z< l= Z= l> Z> lg Zg l? Z? l@ Z@ lA ZA lD ZD lE ZE lF ZF lG ZG lh Zh li Zi lI ZI lP ZP lj Zj lQ ZQ lR ZR l` Z` lk Zk ll Zl lm Zm ln Zn lo Zo lp Zp lq Zq lr Zr lb Zb la Za ls Zs lc Zc lt Zt lu Zu lv Zv lS ZS lT ZT lW ZW lX ZX lY ZY lw Zw lZ ZZ l[ Z[ lx Zx l\ Z\ l] Z] l^ Z^ l_ Z_ ly Zy lK ZK lL ZL lM ZM lN ZN lO ZO lz Zz l{ Z{ l| Z| l} Z} l~ Z~ l Z l Z e o d d
 k l Z l Z l Z lN ZN l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z lx Zx l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z d d k l Z d d k l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z e e f \ Z Z d d k Te e f \ Z Z d d k l Z l Z d d k l Z d d kf l Z n d d k Td S(   s  
This is a procedural interface to the matplotlib object-oriented
plotting library.

The following plotting commands are provided; the majority have
Matlab(TM) analogs and similar argument.

_Plotting commands
  acorr     - plot the autocorrelation function
  annotate  - annotate something in the figure
  arrow     - add an arrow to the axes
  axes      - Create a new axes
  axhline   - draw a horizontal line across axes
  axvline   - draw a vertical line across axes
  axhspan   - draw a horizontal bar across axes
  axvspan   - draw a vertical bar across axes
  axis      - Set or return the current axis limits
  bar       - make a bar chart
  barh      - a horizontal bar chart
  broken_barh - a set of horizontal bars with gaps
  box       - set the axes frame on/off state
  boxplot   - make a box and whisker plot
  cla       - clear current axes
  clabel    - label a contour plot
  clf       - clear a figure window
  clim      - adjust the color limits of the current image
  close     - close a figure window
  colorbar  - add a colorbar to the current figure
  cohere    - make a plot of coherence
  contour   - make a contour plot
  contourf  - make a filled contour plot
  csd       - make a plot of cross spectral density
  delaxes   - delete an axes from the current figure
  draw      - Force a redraw of the current figure
  errorbar  - make an errorbar graph
  figlegend - make legend on the figure rather than the axes
  figimage  - make a figure image
  figtext   - add text in figure coords
  figure   - create or change active figure
  fill     - make filled polygons
  gca      - return the current axes
  gcf      - return the current figure
  gci      - get the current image, or None
  getp      - get a handle graphics property
  grid     - set whether gridding is on
  hist     - make a histogram
  hold     - set the axes hold state
  ioff     - turn interaction mode off
  ion      - turn interaction mode on
  isinteractive - return True if interaction mode is on
  imread   - load image file into array
  imshow   - plot image data
  ishold   - return the hold state of the current axes
  legend   - make an axes legend
  loglog   - a log log plot
  matshow  - display a matrix in a new figure preserving aspect
  pcolor   - make a pseudocolor plot
  pcolormesh - make a pseudocolor plot using a quadrilateral mesh
  pie      - make a pie chart
  plot     - make a line plot
  plot_date - plot dates
  plotfile  - plot column data from an ASCII tab/space/comma delimited file
  pie      - pie charts
  polar    - make a polar plot on a PolarAxes
  psd      - make a plot of power spectral density
  quiver   - make a direction field (arrows) plot
  rc       - control the default params
  rgrids   - customize the radial grids and labels for polar
  savefig  - save the current figure
  scatter  - make a scatter plot
  setp      - set a handle graphics property
  semilogx - log x axis
  semilogy - log y axis
  show     - show the figures
  specgram - a spectrogram plot
  spy      - plot sparsity pattern using markers or image
  stem     - make a stem plot
  subplot  - make a subplot (numrows, numcols, axesnum)
  subplots_adjust - change the params controlling the subplot positions of current figure
  subplot_tool - launch the subplot configuration tool
  table    - add a table to the plot
  text     - add some text at location x,y to the current axes
  thetagrids - customize the radial theta grids and labels for polar
  title    - add a title to the current axes
  xcorr   - plot the autocorrelation function of x and y
  xlim     - set/get the xlimits
  ylim     - set/get the ylimits
  xticks   - set/get the xticks
  yticks   - set/get the yticks
  xlabel   - add an xlabel to the current axes
  ylabel   - add a ylabel to the current axes

  autumn - set the default colormap to autumn
  bone   - set the default colormap to bone
  cool   - set the default colormap to cool
  copper - set the default colormap to copper
  flag   - set the default colormap to flag
  gray   - set the default colormap to gray
  hot    - set the default colormap to hot
  hsv    - set the default colormap to hsv
  jet    - set the default colormap to jet
  pink   - set the default colormap to pink
  prism  - set the default colormap to prism
  spring - set the default colormap to spring
  summer - set the default colormap to summer
  winter - set the default colormap to winter
  spectral - set the default colormap to spectral

_Event handling

  connect - register an event handler
  disconnect - remove a connected event handler

_Matrix commands

  cumprod   - the cumulative product along a dimension
  cumsum    - the cumulative sum along a dimension
  detrend   - remove the mean or besdt fit line from an array
  diag      - the k-th diagonal of matrix
  diff      - the n-th differnce of an array
  eig       - the eigenvalues and eigen vectors of v
  eye       - a matrix where the k-th diagonal is ones, else zero
  find      - return the indices where a condition is nonzero
  fliplr    - flip the rows of a matrix up/down
  flipud    - flip the columns of a matrix left/right
  linspace  - a linear spaced vector of N values from min to max inclusive
  logspace  - a log spaced vector of N values from min to max inclusive
  meshgrid  - repeat x and y to make regular matrices
  ones      - an array of ones
  rand      - an array from the uniform distribution [0,1]
  randn     - an array from the normal distribution
  rot90     - rotate matrix k*90 degress counterclockwise
  squeeze   - squeeze an array removing any dimensions of length 1
  tri       - a triangular matrix
  tril      - a lower triangular matrix
  triu      - an upper triangular matrix
  vander    - the Vandermonde matrix of vector x
  svd       - singular value decomposition
  zeros     - a matrix of zeros

_Probability

  levypdf   - The levy probability density function from the char. func.
  normpdf   - The Gaussian probability density function
  rand      - random numbers from the uniform distribution
  randn     - random numbers from the normal distribution

_Statistics

  corrcoef  - correlation coefficient
  cov       - covariance matrix
  amax       - the maximum along dimension m
  mean      - the mean along dimension m
  median    - the median along dimension m
  amin       - the minimum along dimension m
  norm      - the norm of vector x
  prod      - the product along dimension m
  ptp       - the max-min along dimension m
  std       - the standard deviation along dimension m
  asum       - the sum along dimension m

_Time series analysis

  bartlett  - M-point Bartlett window
  blackman  - M-point Blackman window
  cohere    - the coherence using average periodiogram
  csd       - the cross spectral density using average periodiogram
  fft       - the fast Fourier transform of vector x
  hamming   - M-point Hamming window
  hanning   - M-point Hanning window
  hist      - compute the histogram of x
  kaiser    - M length Kaiser window
  psd       - the power spectral density using average periodiogram
  sinc      - the sinc function of array x

_Dates

  date2num  - convert python datetimes to numeric representation
  drange    - create an array of numbers for date plots
  num2date  - convert numeric type (float days since 0001) to datetime

_Other

  angle     - the angle of a complex array
  load     - load ASCII data into array
  polyfit   - fit x, y to an n-th order polynomial
  polyval   - evaluate an n-th order polynomial
  roots     - the roots of the polynomial coefficients in p
  save      - save an array to an ASCII file
  trapz     - trapezoidal integration

__end

iN(   t   flattent   is_string_liket   exception_to_strt   popdt   silent_listt   iterablet	   enumeratet   dedent(   t   npyma(   t   mpl(#   t   date2numt   num2datet   datestr2numt   strpdate2numt   dranget	   epoch2numt	   num2epocht   mx2numt   DateFormattert   IndexDateFormattert   DateLocatort   RRuleLocatort   YearLocatort   MonthLocatort   WeekdayLocatort
   DayLocatort   HourLocatort   MinuteLocatort   SecondLocatort   rrulet   MOt   TUt   WEt   THt   FRt   SAt   SUt   YEARLYt   MONTHLYt   WEEKLYt   DAILYt   HOURLYt   MINUTELYt   SECONDLYt   relativedelta(*   t   window_hanningt   window_nonet   convt   detrendt   detrend_meant   detrend_nonet   detrend_lineart   polyfitt   polyvalt   entropyt   normpdft   levypdft   findt   trapzt   prepcat   fixt   remt   normt   ortht   rankt   sqrtmt   prctilet   center_matrixt   rk4t   exp_safet   amapt   sum_flatt	   mean_flatt   rms_flatt   l1normt   l2normR>   t   franget   diagonal_matrixt	   base_reprt   binary_reprt   log2t   ispower2t   bivariate_normalt   loadt   savet   stineman_interp(   t   *(=   R-   R.   R/   R0   t   demeanR1   R2   R3   R6   R7   R8   R9   t   longest_contiguous_onest   longest_onesR;   RB   t   prctile_rankRC   RD   RR   t   get_xyz_wheret   get_sparse_matrixt   distt   dist_point_to_segmentt   segments_intersectt   fftsurrt	   liaupunovt   movavgRT   RS   t   slopesRU   t   inside_polyt
   poly_belowt   poly_betweenRE   RF   RI   RJ   RK   t	   norm_flatRL   RM   t   identityRN   RO   RP   RQ   t   fromfunction_kwR=   R>   R?   R@   RA   t   mfuncCt   approx_realt   rec_append_fieldt   rec_drop_fieldst   rec_joint   csv2rect   rec2csv(a   t   arrayt   zerost   shapeR@   t   sizet
   fromstringt   taket   putt   putmaskt   reshapet   repeatt   chooset   searchsortedt   cumsumt   productt
   cumproductt   alltruet   sometruet   allcloset
   arrayranget   aranget   asarrayt   convolvet   swapaxest   concatenatet	   transposet   sortt   argsortt   argmaxt   argmint   innerproductt   dott   outerproductt   resizet   indicest   fromfunctiont   diagonalt   tracet   ravelt   nonzeroRs   t   wheret   compresst   clipRr   t   onesRh   t   addt
   logical_ort   expt   subtractt   logical_xort   logt   multiplyt   logical_nott   log10t   dividet   maximumt   sint   minimumt   sinht	   conjugatet   bitwise_andt   sqrtt   powert
   bitwise_ort   tant   absolutet   bitwise_xort   tanht   negativet   ceilt   greatert   fabst   greater_equalt   floort   lesst   arccost   arctan2t
   less_equalt   arcsint   fmodt   equalt   arctant   hypott	   not_equalt   cost   aroundt   logical_andt   cosht   arccosht   arcsinht   arctanht   cross_correlatet   pit	   ArrayTypet   matrixmultiply(   t   sum(   t   Int8t   UInt8t   Int16t   UInt16t   Int32t   UInt32t   Float32t   Float64t	   Complex32t	   Complex64t   Floatt   Intt   Complex(   t   amint   amax(   t   eigenvectors(   t   inv(   t   __doc__t   syst   warningst   cbookR    R   R   R   R   R   R   R   t   numpyt   npyt   matplotlib.numerixR   t   mat
   matplotlibR	   t   matplotlib.datesR
   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R    R!   R"   R#   R$   R%   R&   R'   R(   R)   R*   R+   R,   t   __dates_all__t   datest   __all__t   matplotlib.mlabR-   R.   R/   R0   R1   R2   R3   R4   R5   R6   R7   R8   R9   R:   R;   R<   R=   R>   R?   R@   RA   RB   RC   RD   RE   RF   RG   RH   RI   RJ   RK   RL   RM   RN   RO   RP   RQ   RR   RS   RT   RU   t	   numpy.fftt   numpy.randomt   numpy.linalgRW   RX   RY   RZ   R[   R\   R]   R^   R_   R`   Ra   Rb   Rc   Rd   Re   Rf   Rg   Rh   Ri   Rj   Rk   Rl   Rm   Rn   Ro   Rp   t   Falset   numpy.oldnumericRq   Rr   Rs   Rt   Ru   Rv   Rw   Rx   Ry   Rz   R{   R|   R}   R~   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   t   asumR   R   R   R   R   R   R   R   R   R   R   R   R   t   mint   maxt   pymint   pymaxt   numpy.oldnumeric.mlabR   R   t   numpy.oldnumeric.linear_algebraR   R   t   inverset   matplotlib.pyplot(    (    (    s9   /Users/cmoad/workspace/matplotlib/lib/matplotlib/pylab.pys   <module>   sB   : 	



 y  RX
