Skip to main content

A Slope Field generator and grapher.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SlopeFields-0.2.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page