Skip to main content

Graph many mathematical functions

Project description

marksfuncs

A mathematical library to graph many mathematical functions in a plot.

Developed by Marc Pérez (c) 2024

Examples of How To Use

Watch a function's parameters

from marksfuncs import Linear

# For Printing Parameters In Console
print(Linear())

# You Can Add It In Anything That Supports An String
message = "I like bananas "
print(message+Linear())

Make The Grafic Of Your Function

from marksfuncs import Exponential

# Printing A Message When The Grafic Finished Showing
print(Exponential(a=6, b=5, x_values_list=[-5, 5, 100]))

# Only Show The Grafic
Exponential(a=4, b=2, x_values_list=[-5, 5, 100])

Graphics Explanation

Graphic Example

from marksfuncs import Exponential
"""

x_values_list = A list to indicate de values of x:
    x_values_list[-5, 5, 100] = x will start at number -5 and end in 5 leaving 100 spaces.

a, b (This values depend on the type of function we would like to graph) = In this case,
Exponential Function Formula = f(x) = a exp(b x)

<------------------------------------------------------------------------------------->

You can navigate through the graphic to know the exact values of y and x in the position you click,
or just can watch the numbers of the graphic. In the bottom you can save the graphic or move it,
in every graphic there's a label that tells you the current formula of the function.

"""
# Create The Graphic
Exponential(a=3, b=4, x_values_list=[-5, 5, 100]).graph()

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

marksfuncs-0.1.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

marksfuncs-0.1-py3-none-any.whl (7.2 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