Skip to main content

A plotting package for the 01005 Mathematics 1 course at the Technical University of Denmark

Project description

DTUMathTools

Description

This package is a collection of easy-to-use commands for plotting using SymPy. It is designed to fit the requirements of 01005 - Advanced Mathematics in Engineering 1 course at the Technical University of Denmark, found here. This includes, but is not limited to:

  • Plotting of vector fields and vectors
  • 2D plotting of SymPy functions
  • 3D plotting of SymPy functions
  • Scatterplots in 2D and 3D

The plotting functions are an extension of sympy-plot-backends, and so documentation and examples of plots (for all functions but dtuplot.scatter() and dtuplot.quiver()) can be found at sympy-plot-backends.readthedocs.io/. Additional functionality and usage is given through course material.

Installation

To install dtumathtools using PyPi, run the following command

$ pip install dtumathtools

Then one can import all the utility by writing

from dtumathtools import *

All plotting functionality can be found using dtuplot.xxx (including all spb plotting functions).

Usage

Use is designed for the 01005 - Advanced Mathematics in Engineering 1 course at the Technical University of Denmark. Any use-case outside this scope is thus not considered, but very welcome!

Contributing

You are very welcome to contribute in the way that makes sense to you! The development team will consider all pull requests at the repo here, as well as mails directly to the developers s194345@student.dtu.dk or s194042@student.dtu.dk. For changes to plotting functionality outside scatter and quiver, direct queries to spb.

Authors and acknowledgment

The project would have never gotten off the ground without Jakob Lemvig and his engagement with SymPy in Mathematics 1. Thank you to Ulrik Engelund Pedersen for trusting us with this task. Finally, a huge thanks to the professors of the course for making great and engaging education: Micheal Pedersen and Karsten Schmidt.

License

Open-source under the BSD license. This means that you are free to use it whatever you like, be it academic, commercial, creating forks or derivatives, as long as you copy the BSD statement if you redistribute it (see the LICENSE file for details).

Project status

This package is in beta. It is deemed good enough for it to be used in the course material from February 2023, and is expected to be refined after feedback from the students that end up using it.

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

dtumathtools-1.0.4.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

dtumathtools-1.0.4-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

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