Skip to main content

quadplots

The quadplots program is an educational utility to create visualizations of basic quadrature methods. The current methods supported are Riemann sum (left, right, mid, max, min), Trapezoid rule, and Simpson's rule.

Usage

Basic usage of quadplots only requires an expression you want to graph (must be valid python), and the start and end points.

quadplots "x**2 - 3*x + 1" -2 3 

By default quadplots will graph a riemann sum with n=10 and use the midpoint method, but you can easily change these options.

quadplots "x**2 - 3*x + 1" -2 3 --method min --partitions 5

You can also change the type of quadrature method used

quadplots "x**3 - 8*x + 7" -2 3 --method min --partitions 4 --quad-type simpson 

If you want, instead of python functions, you can write latex by adding the --latex flag to the command.

quadplots "\exp{-x^{2}}" -2 4 --partitions 4 --quad_type simpson --latex

Finally, if you wish to animate the plot, you can pass --animate with a list of partitions you would like to see at each frame.

quadplots "\exp{-x^{2}}" -2 4 --partitions 4 --quad_type simpson --latex --animate 2 4 6 10 100

Metadata

Release files for quadplots 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quadplots 1.0.3
File Size Uploaded Provenance Actions
quadplots-1.0.3.tar.gz 10.7 kB Without provenance Details for quadplots-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quadplots 1.0.3
File Interpreter ABI Platform Actions
quadplots-1.0.3-py3-none-any.whl Python 3 none any Details for quadplots-1.0.3-py3-none-any.whl

Total release size: 21.7 kB

Release files / quadplots-1.0.3.tar.gz

Download URL quadplots-1.0.3.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7a18c8d206f507dcd023e29be7de391699d29db4af1f26a3294e9ff771537004
BLAKE2b-256 checksum
How to use checksums
5e8da5ddd08230caa52e97570597ec162e11f4adb51c432ce934a19a237a07a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / quadplots-1.0.3-py3-none-any.whl

Download URL quadplots-1.0.3-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8d190ef07eab1f97a8853b5198cb79c34cbd88e890e92cd8003da4739fcc224
BLAKE2b-256 checksum
How to use checksums
1b9676c0a1b7141271181355bbc9a86f9354021cc2bbdbd4946838593c6ce7a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for quadplots 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page