8000 Add `streamplot` axes method to plot streamlines by tonysyu · Pull Request #664 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
687af18
Add `streamplot` axes method to plot streamlines
tonysyu Jan 8, 2012
0657e73
Add improvements from Tom Flannaghan.
tonysyu Jan 10, 2012
a88f621
Fix bounds checking.
tonysyu Jan 10, 2012
28a9e27
Remove `Terminated` exception.
tonysyu Jan 10, 2012
e6e977a
Remove OutOfBounds exception and factor out Euler step
tonysyu Jan 10, 2012
3bf9f09
Move comments into docstring.
tonysyu Jan 11, 2012
3144f6d
Adjust exponent of step-size correction to match method-order.
tonysyu Jan 11, 2012
5632418
Fix error raised when trajectory lands on Nx or Ny.
tonysyu Jan 11, 2012
d60c9fc
Remove integrator parameter for streamplot
tonysyu Jan 11, 2012
6f3053e
Add streamplot function to pyplot.
tonysyu Jan 16, 2012
72abc5d
Fix streamplot to work with colorbar.
tonysyu Jan 17, 2012
b884fc8
Fix selection of arrow's linewidth and color
tonysyu Jan 17, 2012
7d01052
Add support for masked arrays.
tonysyu Jan 17, 2012
40dce9c
Change handling of masked arrays.
tonysyu Jan 17, 2012
07553f0
Remove copyright notice.
tonysyu Jan 18, 2012
3259d0a
Return collection of streamlines from `streamplot`.
tonysyu Jan 19, 2012
a98c543
Add example to plot streamplot with masked values.
tonysyu Jan 19, 2012
ed29d17
Fix issues raised by PhilipElson in PR #664.
tonysyu Feb 7, 2012
398e8ec
Rename `valid_index` to `within_grid`.
tonysyu Feb 8, 2012
8152811
Change type checks to calls to isinstance.
tonysyu Feb 22, 2012
9c51448
Set default color and linewidth to None and use rc defaults.
tonysyu Feb 22, 2012
b77effe
Change streamplot to default to color in color_cycle.
tonysyu Feb 22, 2012
6ca72da
Address JDH's PR comments
tonysyu Feb 27, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust exponent of step-size correction to match method-order.
  • Loading branch information
tonysyu committed Jan 11, 2012
commit 3144f6de5d3c12912b27f2f8c3f6fdafb462404b
2 changes: 1 addition & 1 deletion lib/matplotlib/streamplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def _rk12(x0, y0, dmap, f):
stotal += ds

# recalculate stepsize based on step error
ds = min(maxds, 0.85 * ds * (maxerror/error)**0.2)
ds = min(maxds, 0.85 * ds * (maxerror/error)**0.5)

return stotal, xf_traj, yf_traj

Expand Down
0