diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-04-06 14:50:56 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-04-06 14:50:56 +0400 |
| commit | c763f723095ada3fc1c683929a410ef533cfa93d (patch) | |
| tree | 96d9b81f44f4e4737fe971e9f2773dfd19f06693 /python-graphics/plotter.py | |
| parent | 430a599dcd9454f95c85ab6eb6b72eb15d584b92 (diff) | |
Добавил пользовательские графы
Diffstat (limited to 'python-graphics/plotter.py')
| -rw-r--r-- | python-graphics/plotter.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python-graphics/plotter.py b/python-graphics/plotter.py index b2bc029..6ab8275 100644 --- a/python-graphics/plotter.py +++ b/python-graphics/plotter.py @@ -1,4 +1,5 @@ import matplotlib.pyplot as plt +from sympy.plotting import plot import numpy as np @@ -58,3 +59,8 @@ def plot_points(data): # show the plot plt.show() + + +def plot_user(data): + plot(data["expr"]) + |