~ubuntu-branches/ubuntu/warty/python-gnuplot/warty

« back to all changes in this revision

Viewing changes to doc/Gnuplot/termdefs.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2003-11-16 12:36:26 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20031116123626-1knq7mn30ta2q6ds
Tags: 1.7-3
Fix typo in README.Debian (closes: #219485).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 
2
          "http://www.w3.org/TR/html40/loose.dtd">
 
3
 
 
4
<html>
 
5
         
 
6
  <head>
 
7
    <title>Module: termdefs</title>
 
8
  </head>
 
9
 
 
10
  <body bgcolor="#ffffff">
 
11
 
 
12
        <p><i><a href="../index.html">Table of Contents</a></i></p>
 
13
        
 
14
        <table border="0" cellpadding="5" cellspacing="0" width="100%">
 
15
        <tr>
 
16
            <th rowspan="2"
 
17
                valign="top"
 
18
                align="left"
 
19
                width="10%"
 
20
                bgcolor="#88bbee"><font color="#000000">Module: termdefs</font>
 
21
            </th>
 
22
            <th bgcolor="#88bbee"
 
23
                width="90%"
 
24
                align="right"><font color="#000000">Gnuplot/termdefs.py</font>
 
25
            </th>
 
26
        </tr>
 
27
        <tr>
 
28
        <td>
 
29
        
 
30
<p>Terminal definition file.</p>
 
31
<p>This module describes the options available to gnuplot's various
 
32
terminals.  For the moment, it only supports a few terminals, but the
 
33
infrastructure is here to add others as they are needed.</p>
 
34
<p>Part of the trick is that the <code>set terminal</code> command takes myriad
 
35
suboptions with various argument types, and order is sometimes
 
36
significant.  The other part of the trick is that there are over 50
 
37
terminal types, and each terminal has its own set of options.</p>
 
38
<p>The strategy here is to define a general mechanism for turning Python
 
39
keyword parameters into fragments of gnuplot command strings.  There
 
40
are a number of classes derived from Arg that do this.  Some take
 
41
string args, some boolean, etc.  Then the list of options that each
 
42
terminal accepts is stored in the terminal_opts dictionary.
 
43
Gnuplot.hardcopy(), in turn, uses this dictionary to interpret its
 
44
keyword arguments and build the <code>set terminal</code> command.</p>
 
45
<table border="0" cellpadding="5" cellspacing="0" width="100%">
 
46
 
 
47
        <tr>
 
48
            <th bgcolor="#99ccff"
 
49
                rowspan="2"
 
50
                valign="top"
 
51
                align="left"
 
52
                width="20%"
 
53
                >
 
54
                <font color="#000000">
 
55
                  <a name="Imported modules">Imported modules</a>&nbsp;
 
56
                </font>
 
57
            </th>
 
58
            <th bgcolor="#99ccff"
 
59
                valign="top"
 
60
                align="left"
 
61
                width="80%"
 
62
                >
 
63
                <font color="#000000">&nbsp;</font>
 
64
            </th>
 
65
        </tr>
 
66
        <tr>
 
67
        <td>
 
68
        
 
69
<b>import</b> <a href="Errors.html">Errors</a><br>
 
70
<b>import</b> <a href="gp.html">gp</a><br>
 
71
<b>import</b> <a href="http://www.python.org/doc/current/lib/module-types.html">types</a><br>
 
72
 
 
73
</td></tr>
 
74
 
 
75
        <tr>
 
76
            <th bgcolor="#99ccff"
 
77
                rowspan="2"
 
78
                valign="top"
 
79
                align="left"
 
80
                width="20%"
 
81
                >
 
82
                <font color="#000000">
 
83
                  <a name="Classes">Classes</a>&nbsp;
 
84
                </font>
 
85
            </th>
 
86
            <th bgcolor="#99ccff"
 
87
                valign="top"
 
88
                align="left"
 
89
                width="80%"
 
90
                >
 
91
                <font color="#000000">&nbsp;</font>
 
92
            </th>
 
93
        </tr>
 
94
        <tr>
 
95
        <td>
 
96
        
 
97
<table border="0" cellpadding="3" cellspacing="0">
 
98
<tr><td valign="top" align="left"><p><a href="termdefs/Arg.html">Arg</a></p></td><td valign="top" align="left">
 
99
<p>Process terminal subargs and return a command fragment.</p>
 
100
</td></tr>
 
101
<tr><td valign="top" align="left"><p><a href="termdefs/ArgOneParam.html">ArgOneParam</a></p></td><td valign="top" align="left">
 
102
<p>Arg abstract base class specialized for exactly one parameter.</p>
 
103
</td></tr>
 
104
<tr><td valign="top" align="left"><p><a href="termdefs/BareStringArg.html">BareStringArg</a></p></td><td valign="top" align="left">
 
105
<p>An arbitrary argument output without quotes.</p>
 
106
</td></tr>
 
107
<tr><td valign="top" align="left"><p><a href="termdefs/BooleanArg.html">BooleanArg</a></p></td><td valign="top" align="left">
 
108
<p>An argument that takes a true/false value.</p>
 
109
</td></tr>
 
110
<tr><td valign="top" align="left"><p><a href="termdefs/KeywordArg.html">KeywordArg</a></p></td><td valign="top" align="left">
 
111
<p>Represent an argument that must be passed as a keyword to gnuplot.</p>
 
112
</td></tr>
 
113
<tr><td valign="top" align="left"><p><a href="termdefs/KeywordOrBooleanArg.html">KeywordOrBooleanArg</a></p></td><td valign="top" align="left">
 
114
<p>Allow a keyword arg to be specified either as a keyword or a boolean.</p>
 
115
</td></tr>
 
116
<tr><td valign="top" align="left"><p><a href="termdefs/MutuallyExclusiveArgs.html">MutuallyExclusiveArgs</a></p></td><td valign="top" align="left">
 
117
<p>A group of args, of which either zero or one may be set, but not more.</p>
 
118
</td></tr>
 
119
<tr><td valign="top" align="left"><p><a href="termdefs/StringArg.html">StringArg</a></p></td><td valign="top" align="left">
 
120
<p>An option taking a quoted string argument.</p>
 
121
</td></tr>
 
122
</table>
 
123
</td></tr>
 
124
</td></tr>
 
125
</table>
 
126
 
 
127
        </td>
 
128
        </tr>
 
129
        </table>
 
130
 
 
131
        <hr>
 
132
 
 
133
        <p><i><a href="../index.html">Table of Contents</a></i></p>
 
134
 
 
135
        <font size="-2"><i>This document was automatically generated
 
136
        on Sun Oct 19 17:10:22 2003 by
 
137
        <a href="http://happydoc.sourceforge.net">HappyDoc</a> version
 
138
        2.1</i></font>
 
139
        
 
140
        </body>
 
141
        </html>
 
142
        
 
 
b'\\ No newline at end of file'