A slope field generator and grapher written in Python
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SlopeFields
images
.gitignore
CHANGES.txt
LICENSE
MANIFEST
MANIFEST.in
README.rst
examples.md
requirements.txt
setup.py

README.rst

SlopeFields

A slope field generator and grapher written in Python

Example

For more example images, see examples.md .

Usage

usage: slopeFields.py [-h] [--xMin XMIN] [--xMax XMAX] [--yMin YMIN]
                      [--yMax YMAX] [--initX INITX] [--initY INITY] [--dX DX]
                      [--line] [--approximate APPROXIMATE]
                      equation

Generate a slope field for a given function.

positional arguments:
  equation              The equation

optional arguments:
  -h, --help            show this help message and exit
  --xMin XMIN           Minimum x value.
  --xMax XMAX           Maximum x value.
  --yMin YMIN           Minimum y value.
  --yMax YMAX           Maximum y value.
  --initX INITX         The initial x value.
  --initY INITY         The initial y value.
  --dX DX               The dX value used in euler's method.
  --line                If you want to draw a line connecting the dots. Note
                        this may cause problems on functions with asymptotes.
  --approximate APPROXIMATE
                        If you want to approximate f(a).

Installation

pip install SlopeFields