~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to bindings/python/plplotc.py

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This file was created automatically by SWIG.
 
1
# This file was created automatically by SWIG 1.3.28.
2
2
# Don't modify this file, modify the SWIG interface instead.
3
3
# This file is compatible with both classic and new-style classes.
4
4
 
5
5
import _plplotc
6
 
 
7
 
def _swig_setattr(self,class_type,name,value):
 
6
import new
 
7
new_instancemethod = new.instancemethod
 
8
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
 
9
    if (name == "thisown"): return self.this.own(value)
8
10
    if (name == "this"):
9
 
        if isinstance(value, class_type):
10
 
            self.__dict__[name] = value.this
11
 
            if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
12
 
            del value.thisown
 
11
        if type(value).__name__ == 'PySwigObject':
 
12
            self.__dict__[name] = value
13
13
            return
14
14
    method = class_type.__swig_setmethods__.get(name,None)
15
15
    if method: return method(self,value)
16
 
    self.__dict__[name] = value
 
16
    if (not static) or hasattr(self,name):
 
17
        self.__dict__[name] = value
 
18
    else:
 
19
        raise AttributeError("You cannot add attributes to %s" % self)
 
20
 
 
21
def _swig_setattr(self,class_type,name,value):
 
22
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
17
23
 
18
24
def _swig_getattr(self,class_type,name):
 
25
    if (name == "thisown"): return self.this.own()
19
26
    method = class_type.__swig_getmethods__.get(name,None)
20
27
    if method: return method(self)
21
28
    raise AttributeError,name
68
75
DRAW_SIDES = _plplotc.DRAW_SIDES
69
76
FACETED = _plplotc.FACETED
70
77
MESH = _plplotc.MESH
 
78
PL_BIN_DEFAULT = _plplotc.PL_BIN_DEFAULT
 
79
PL_BIN_CENTRED = _plplotc.PL_BIN_CENTRED
 
80
PL_BIN_NOEXPAND = _plplotc.PL_BIN_NOEXPAND
 
81
PL_BIN_NOEMPTY = _plplotc.PL_BIN_NOEMPTY
 
82
PL_HIST_DEFAULT = _plplotc.PL_HIST_DEFAULT
 
83
PL_HIST_NOSCALING = _plplotc.PL_HIST_NOSCALING
 
84
PL_HIST_IGNORE_OUTLIERS = _plplotc.PL_HIST_IGNORE_OUTLIERS
 
85
PL_HIST_NOEXPAND = _plplotc.PL_HIST_NOEXPAND
 
86
PL_HIST_NOEMPTY = _plplotc.PL_HIST_NOEMPTY
71
87
PLSWIN_DEVICE = _plplotc.PLSWIN_DEVICE
72
88
PLSWIN_WORLD = _plplotc.PLSWIN_WORLD
73
89
PL_OPT_ENABLED = _plplotc.PL_OPT_ENABLED
96
112
PLESPLFLTBUFFERING_DISABLE = _plplotc.PLESPLFLTBUFFERING_DISABLE
97
113
PLESPLFLTBUFFERING_QUERY = _plplotc.PLESPLFLTBUFFERING_QUERY
98
114
 
99
 
plarrows = _plplotc.plarrows
100
 
 
101
115
plsxwin = _plplotc.plsxwin
102
116
 
103
117
pl_setcontlabelformat = _plplotc.pl_setcontlabelformat
170
184
 
171
185
plgfam = _plplotc.plgfam
172
186
 
 
187
plgfci = _plplotc.plgfci
 
188
 
173
189
plgfnam = _plplotc.plgfnam
174
190
 
175
191
plglevel = _plplotc.plglevel
198
214
 
199
215
plhls = _plplotc.plhls
200
216
 
 
217
plhlsrgb = _plplotc.plhlsrgb
 
218
 
201
219
plinit = _plplotc.plinit
202
220
 
203
221
pljoin = _plplotc.pljoin
230
248
 
231
249
plsurf3dl = _plplotc.plsurf3dl
232
250
 
 
251
plparseopts = _plplotc.plparseopts
 
252
 
233
253
plpat = _plplotc.plpat
234
254
 
235
255
plpoin = _plplotc.plpoin
246
266
 
247
267
plreplot = _plplotc.plreplot
248
268
 
 
269
plrgbhls = _plplotc.plrgbhls
 
270
 
249
271
plschr = _plplotc.plschr
250
272
 
251
273
plscmap0 = _plplotc.plscmap0
284
306
 
285
307
plsfam = _plplotc.plsfam
286
308
 
 
309
plsfci = _plplotc.plsfci
 
310
 
287
311
plsfnam = _plplotc.plsfnam
288
312
 
289
313
plshades = _plplotc.plshades
356
380
 
357
381
plSetUsage = _plplotc.plSetUsage
358
382
 
359
 
plParseOpts = _plplotc.plParseOpts
360
 
 
361
383
plOptUsage = _plplotc.plOptUsage
362
384
 
363
 
plHLS_RGB = _plplotc.plHLS_RGB
364
 
 
365
 
plRGB_HLS = _plplotc.plRGB_HLS
366
 
 
367
385
plGetCursor = _plplotc.plGetCursor
368
386
 
 
387