|
129 | 129 |
|
130 | 130 | cumprod - the cumulative product along a dimension
|
131 | 131 | cumsum - the cumulative sum along a dimension
|
132 |
| - detrend - remove the mean or besdt fit line from an array |
133 | 132 | diag - the k-th diagonal of matrix
|
134 | 133 | diff - the n-th differnce of an array
|
135 | 134 | eig - the eigenvalues and eigen vectors of v
|
136 | 135 | eye - a matrix where the k-th diagonal is ones, else zero
|
137 |
| - find - return the indices where a condition is nonzero |
138 | 136 | fliplr - flip the rows of a matrix up/down
|
139 | 137 | flipud - flip the columns of a matrix left/right
|
140 | 138 | linspace - a linear spaced vector of N values from min to max inclusive
|
|
154 | 152 |
|
155 | 153 | _Probability
|
156 | 154 |
|
157 |
| - normpdf - The Gaussian probability density function |
158 | 155 | rand - random numbers from the uniform distribution
|
159 | 156 | randn - random numbers from the normal distribution
|
160 | 157 |
|
|
239 | 236 | # bring all the symbols in so folks can import them from
|
240 | 237 | # pylab in one fell swoop
|
241 | 238 |
|
242 |
| -## We are still importing too many things from mlab; more cleanup is needed. |
243 |
| - |
244 |
| -from matplotlib.mlab import ( |
245 |
| - amap, base_repr, binary_repr, bivariate_normal, center_matrix, csv2rec, |
246 |
| - demean, detrend, detrend_linear, detrend_mean, detrend_none, dist, |
247 |
| - dist_point_to_segment, distances_along_curve, entropy, exp_safe, |
248 |
| - fftsurr, find, frange, get_sparse_matrix, get_xyz_where, griddata, |
249 |
| - identity, inside_poly, is_closed_polygon, ispower2, isvector, l1norm, |
250 |
| - l2norm, log2, longest_contiguous_ones, longest_ones, movavg, norm_flat, |
251 |
| - normpdf, path_length, poly_below, poly_between, prctile, prctile_rank, |
252 |
| - rec2csv, rec_append_fields, rec_drop_fields, rec_join, rk4, rms_flat, |
253 |
| - segments_intersect, slopes, stineman_interp, vector_lengths, |
254 |
| - window_hanning, window_none) |
255 |
| - |
256 |
| -from matplotlib import cbook, mlab, pyplot as plt |
| 239 | +from matplotlib import cbook, pyplot as plt |
257 | 240 | from matplotlib.pyplot import *
|
258 | 241 |
|
259 | 242 | from numpy import *
|
|
0 commit comments