PyPlaneDomains Copyright (C) 2013 Marco Spadini This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public License for more details. About the author: Marco Spadini Dipartimento di Matematica e Informatica, Via S. Marta 3, 50139 Firenze, ITALY web: http:\\www.dma.unifi.it\~spadini e-mail: marco.spadini@unifi.it Description: The purpose of this program is to sketch plane domains defined by a complex sets of inequalities. The user should provide a reference rectangle R (determined by two opposite corners, south-west SW=(x0,y0) and north-east NE=(x1,y1)), and a set of conditions (namely a bunch of inequalities joined by logical connectives as ".and.", ".or.", ".xor.", or the operator ".not." ). The set of conditions can be distributed on several lines (all logically linked by ".and.", but do **not** break a single condition over two lines: errors would ensue). The program tries to sketch the closure of the interior of the set D of those points (x,y) in the reference rectangle R where the condition holds. (Note that boundaries, albeit shown, are not necessarily included in the domain D, but do belong to the closure of D). The functions and conditions ought to be inserted as strings (using Python conventions with the addition of the ".xor." operator and of the "sign" function --realized as "cmp(x)=sign(1.,x)"). All input boxes accept simple Python expressions, like e/2 or pi. A word of caution concerns integer division: recall that in Python, as in many other languages, 1./2. = 0.5 whereas 1/2 = 0. Requirements: A working Python (I tested v. 2.7) installation with the Tkinter, numpy, scipy and matplotlib modules is required. Installation: Just copy this directory somewhere you have the rights to read write and execute. RUNNING THE PROGRAM: In a terminal, go to the directory where the program is installed. At the prompt, issue the command "python PyPlaneDomains.py". Enjoy!