-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
57 lines (47 loc) · 1.72 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# EvilPlot
# Copyright 2008 Brigham Young University
#
# This file is part of EvilPlot.
#
# EvilPlot is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# EvilPlot is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# EvilPlot. If not, see <http://www.gnu.org/licenses/>.
#
# Inquiries regarding any further use of the Materials contained on this site,
# please contact the Copyright Licensing Office, Brigham Young University,
# 3760 HBLL, Provo, UT 84602, (801) 422-9339 or 422-3821, e-mail
"""A dastardly library that interfaces with Gnuplot.
In other words, Andrew McNabb's plotting module, written for the sole purpose
of making his life more simple. This is a work in progress. This module is
designed to be used in conjunction with Chris's Makefile.
Sample usage. Note that parameters like `title` and `xmin` can be specified
either as arguments during instantiation or as attributes at a later time.
>>> p = Plot(title='Sample Plot')
>>> p.title
'Sample Plot'
>>> f = Function(lambda x: x**2)
>>> f.xmin = -2
>>> f.xmax = 2
>>> p.append(f)
>>> p.show()
>>>
"""
from . import plot
from .plot import *
from . import plotitems
from .plotitems import *
if __name__ == '__main__':
import doctest
doctest.testmod()
__all__ = plot.__all__ + plotitems.__all__
# vim: et sw=4 sts=4