This file is indexed.

/usr/lib/python2.7/dist-packages/mathgl.py is in python-mathgl 2.2.2.1-3+b2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info
if version_info >= (2,6,0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_mathgl', [dirname(__file__)])
        except ImportError:
            import _mathgl
            return _mathgl
        if fp is not None:
            try:
                _mod = imp.load_module('_mathgl', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _mathgl = swig_import_helper()
    del swig_import_helper
else:
    import _mathgl
del version_info
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError(name)

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


class mglPoint(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglPoint, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglPoint, name)
    __repr__ = _swig_repr
    __swig_setmethods__["x"] = _mathgl.mglPoint_x_set
    __swig_getmethods__["x"] = _mathgl.mglPoint_x_get
    if _newclass:x = _swig_property(_mathgl.mglPoint_x_get, _mathgl.mglPoint_x_set)
    __swig_setmethods__["y"] = _mathgl.mglPoint_y_set
    __swig_getmethods__["y"] = _mathgl.mglPoint_y_get
    if _newclass:y = _swig_property(_mathgl.mglPoint_y_get, _mathgl.mglPoint_y_set)
    __swig_setmethods__["z"] = _mathgl.mglPoint_z_set
    __swig_getmethods__["z"] = _mathgl.mglPoint_z_get
    if _newclass:z = _swig_property(_mathgl.mglPoint_z_get, _mathgl.mglPoint_z_set)
    __swig_setmethods__["c"] = _mathgl.mglPoint_c_set
    __swig_getmethods__["c"] = _mathgl.mglPoint_c_get
    if _newclass:c = _swig_property(_mathgl.mglPoint_c_get, _mathgl.mglPoint_c_set)
    def __init__(self, X=0, Y=0, Z=0, C=0): 
        this = _mathgl.new_mglPoint(X, Y, Z, C)
        try: self.this.append(this)
        except: self.this = this
    def IsNAN(self): return _mathgl.mglPoint_IsNAN(self)
    def val(self, *args): return _mathgl.mglPoint_val(self, *args)
    def norm(self): return _mathgl.mglPoint_norm(self)
    def Normalize(self): return _mathgl.mglPoint_Normalize(self)
    __swig_destroy__ = _mathgl.delete_mglPoint
    __del__ = lambda self : None;
mglPoint_swigregister = _mathgl.mglPoint_swigregister
mglPoint_swigregister(mglPoint)
cvar = _mathgl.cvar
Pi = cvar.Pi
NaN = cvar.NaN
mgl_min_a = cvar.mgl_min_a

class mglColor(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglColor, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglColor, name)
    __repr__ = _swig_repr
    __swig_setmethods__["r"] = _mathgl.mglColor_r_set
    __swig_getmethods__["r"] = _mathgl.mglColor_r_get
    if _newclass:r = _swig_property(_mathgl.mglColor_r_get, _mathgl.mglColor_r_set)
    __swig_setmethods__["g"] = _mathgl.mglColor_g_set
    __swig_getmethods__["g"] = _mathgl.mglColor_g_get
    if _newclass:g = _swig_property(_mathgl.mglColor_g_get, _mathgl.mglColor_g_set)
    __swig_setmethods__["b"] = _mathgl.mglColor_b_set
    __swig_getmethods__["b"] = _mathgl.mglColor_b_get
    if _newclass:b = _swig_property(_mathgl.mglColor_b_get, _mathgl.mglColor_b_set)
    __swig_setmethods__["a"] = _mathgl.mglColor_a_set
    __swig_getmethods__["a"] = _mathgl.mglColor_a_get
    if _newclass:a = _swig_property(_mathgl.mglColor_a_get, _mathgl.mglColor_a_set)
    def __init__(self, *args): 
        this = _mathgl.new_mglColor(*args)
        try: self.this.append(this)
        except: self.this = this
    def Valid(self): return _mathgl.mglColor_Valid(self)
    def Norm(self): return _mathgl.mglColor_Norm(self)
    def NormS(self): return _mathgl.mglColor_NormS(self)
    def Set(self, *args): return _mathgl.mglColor_Set(self, *args)
    def __eq__(self, *args): return _mathgl.mglColor___eq__(self, *args)
    def __ne__(self, *args): return _mathgl.mglColor___ne__(self, *args)
    def __lt__(self, *args): return _mathgl.mglColor___lt__(self, *args)
    __swig_destroy__ = _mathgl.delete_mglColor
    __del__ = lambda self : None;
mglColor_swigregister = _mathgl.mglColor_swigregister
mglColor_swigregister(mglColor)

class mglData(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglData, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglData, name)
    __repr__ = _swig_repr
    __swig_setmethods__["nx"] = _mathgl.mglData_nx_set
    __swig_getmethods__["nx"] = _mathgl.mglData_nx_get
    if _newclass:nx = _swig_property(_mathgl.mglData_nx_get, _mathgl.mglData_nx_set)
    __swig_setmethods__["ny"] = _mathgl.mglData_ny_set
    __swig_getmethods__["ny"] = _mathgl.mglData_ny_get
    if _newclass:ny = _swig_property(_mathgl.mglData_ny_get, _mathgl.mglData_ny_set)
    __swig_setmethods__["nz"] = _mathgl.mglData_nz_set
    __swig_getmethods__["nz"] = _mathgl.mglData_nz_get
    if _newclass:nz = _swig_property(_mathgl.mglData_nz_get, _mathgl.mglData_nz_set)
    __swig_setmethods__["a"] = _mathgl.mglData_a_set
    __swig_getmethods__["a"] = _mathgl.mglData_a_get
    if _newclass:a = _swig_property(_mathgl.mglData_a_get, _mathgl.mglData_a_set)
    __swig_setmethods__["id"] = _mathgl.mglData_id_set
    __swig_getmethods__["id"] = _mathgl.mglData_id_get
    if _newclass:id = _swig_property(_mathgl.mglData_id_get, _mathgl.mglData_id_set)
    __swig_setmethods__["link"] = _mathgl.mglData_link_set
    __swig_getmethods__["link"] = _mathgl.mglData_link_get
    if _newclass:link = _swig_property(_mathgl.mglData_link_get, _mathgl.mglData_link_set)
    def __init__(self, *args): 
        this = _mathgl.new_mglData(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mathgl.delete_mglData
    __del__ = lambda self : None;
    def GetVal(self, *args): return _mathgl.mglData_GetVal(self, *args)
    def SetVal(self, *args): return _mathgl.mglData_SetVal(self, *args)
    def GetNx(self): return _mathgl.mglData_GetNx(self)
    def GetNy(self): return _mathgl.mglData_GetNy(self)
    def GetNz(self): return _mathgl.mglData_GetNz(self)
    def Link(self, *args): return _mathgl.mglData_Link(self, *args)
    def Set(self, *args): return _mathgl.mglData_Set(self, *args)
    def Create(self, *args): return _mathgl.mglData_Create(self, *args)
    def Rearrange(self, *args): return _mathgl.mglData_Rearrange(self, *args)
    def Transpose(self, dim="yx"): return _mathgl.mglData_Transpose(self, dim)
    def Extend(self, *args): return _mathgl.mglData_Extend(self, *args)
    def Squeeze(self, *args): return _mathgl.mglData_Squeeze(self, *args)
    def Crop(self, *args): return _mathgl.mglData_Crop(self, *args)
    def Insert(self, *args): return _mathgl.mglData_Insert(self, *args)
    def Delete(self, *args): return _mathgl.mglData_Delete(self, *args)
    def Clean(self, *args): return _mathgl.mglData_Clean(self, *args)
    def Join(self, *args): return _mathgl.mglData_Join(self, *args)
    def Modify(self, *args): return _mathgl.mglData_Modify(self, *args)
    def Fill(self, *args): return _mathgl.mglData_Fill(self, *args)
    def Refill(self, *args): return _mathgl.mglData_Refill(self, *args)
    def Grid(self, *args): return _mathgl.mglData_Grid(self, *args)
    def Put(self, *args): return _mathgl.mglData_Put(self, *args)
    def SetColumnId(self, *args): return _mathgl.mglData_SetColumnId(self, *args)
    def NewId(self): return _mathgl.mglData_NewId(self)
    def Read(self, *args): return _mathgl.mglData_Read(self, *args)
    def Save(self, *args): return _mathgl.mglData_Save(self, *args)
    def Export(self, *args): return _mathgl.mglData_Export(self, *args)
    def Import(self, *args): return _mathgl.mglData_Import(self, *args)
    def ReadRange(self, *args): return _mathgl.mglData_ReadRange(self, *args)
    def ReadAll(self, *args): return _mathgl.mglData_ReadAll(self, *args)
    def ReadMat(self, *args): return _mathgl.mglData_ReadMat(self, *args)
    def ReadHDF(self, *args): return _mathgl.mglData_ReadHDF(self, *args)
    def SaveHDF(self, *args): return _mathgl.mglData_SaveHDF(self, *args)
    __swig_getmethods__["DatasHDF"] = lambda x: _mathgl.mglData_DatasHDF
    if _newclass:DatasHDF = staticmethod(_mathgl.mglData_DatasHDF)
    def Column(self, *args): return _mathgl.mglData_Column(self, *args)
    def SubData(self, *args): return _mathgl.mglData_SubData(self, *args)
    def Trace(self): return _mathgl.mglData_Trace(self)
    def Hist(self, *args): return _mathgl.mglData_Hist(self, *args)
    def Sum(self, *args): return _mathgl.mglData_Sum(self, *args)
    def Max(self, *args): return _mathgl.mglData_Max(self, *args)
    def Min(self, *args): return _mathgl.mglData_Min(self, *args)
    def Combine(self, *args): return _mathgl.mglData_Combine(self, *args)
    def Resize(self, *args): return _mathgl.mglData_Resize(self, *args)
    def Evaluate(self, *args): return _mathgl.mglData_Evaluate(self, *args)
    def Roots(self, *args): return _mathgl.mglData_Roots(self, *args)
    def Correl(self, *args): return _mathgl.mglData_Correl(self, *args)
    def AutoCorrel(self, *args): return _mathgl.mglData_AutoCorrel(self, *args)
    def CumSum(self, *args): return _mathgl.mglData_CumSum(self, *args)
    def Integral(self, *args): return _mathgl.mglData_Integral(self, *args)
    def Diff(self, *args): return _mathgl.mglData_Diff(self, *args)
    def Diff2(self, *args): return _mathgl.mglData_Diff2(self, *args)
    def Swap(self, *args): return _mathgl.mglData_Swap(self, *args)
    def Roll(self, *args): return _mathgl.mglData_Roll(self, *args)
    def Mirror(self, *args): return _mathgl.mglData_Mirror(self, *args)
    def Sort(self, *args): return _mathgl.mglData_Sort(self, *args)
    def Envelop(self, dir='x'): return _mathgl.mglData_Envelop(self, dir)
    def Sew(self, dirs="xyz", da=2*Pi): return _mathgl.mglData_Sew(self, dirs, da)
    def Smooth(self, dirs="xyz", delta=0): return _mathgl.mglData_Smooth(self, dirs, delta)
    def Norm(self, v1=0, v2=1, sym=False, dim=0): return _mathgl.mglData_Norm(self, v1, v2, sym, dim)
    def NormSl(self, v1=0, v2=1, dir='z', keep_en=True, sym=False): return _mathgl.mglData_NormSl(self, v1, v2, dir, keep_en, sym)
    def Hankel(self, *args): return _mathgl.mglData_Hankel(self, *args)
    def SinFFT(self, *args): return _mathgl.mglData_SinFFT(self, *args)
    def CosFFT(self, *args): return _mathgl.mglData_CosFFT(self, *args)
    def FillSample(self, *args): return _mathgl.mglData_FillSample(self, *args)
    def Solve(self, *args): return _mathgl.mglData_Solve(self, *args)
    def Spline(self, *args): return _mathgl.mglData_Spline(self, *args)
    def Spline1(self, *args): return _mathgl.mglData_Spline1(self, *args)
    def Linear(self, *args): return _mathgl.mglData_Linear(self, *args)
    def Linear1(self, *args): return _mathgl.mglData_Linear1(self, *args)
    def PrintInfo(self, *args): return _mathgl.mglData_PrintInfo(self, *args)
    def Maximal(self, *args): return _mathgl.mglData_Maximal(self, *args)
    def Minimal(self, *args): return _mathgl.mglData_Minimal(self, *args)
    def Momentum(self, *args): return _mathgl.mglData_Momentum(self, *args)
    def Last(self, *args): return _mathgl.mglData_Last(self, *args)
    def Find(self, *args): return _mathgl.mglData_Find(self, *args)
    def FindAny(self, *args): return _mathgl.mglData_FindAny(self, *args)
    def __getitem__(self, *args): return _mathgl.mglData___getitem__(self, *args)
    def __paren(self, *args): return _mathgl.mglData___paren(self, *args)
    def __setitem__(self, *args): return _mathgl.mglData___setitem__(self, *args)
    def __paren_asgn(self, *args): return _mathgl.mglData___paren_asgn(self, *args)
mglData_swigregister = _mathgl.mglData_swigregister
mglData_swigregister(mglData)

def mglData_DatasHDF(*args):
  return _mathgl.mglData_DatasHDF(*args)
mglData_DatasHDF = _mathgl.mglData_DatasHDF


def mglTransformA(*args):
  return _mathgl.mglTransformA(*args)
mglTransformA = _mathgl.mglTransformA

def mglTransform(*args):
  return _mathgl.mglTransform(*args)
mglTransform = _mathgl.mglTransform

def mglFourier(*args):
  return _mathgl.mglFourier(*args)
mglFourier = _mathgl.mglFourier

def mglSTFA(*args):
  return _mathgl.mglSTFA(*args)
mglSTFA = _mathgl.mglSTFA

def mglPDE(*args):
  return _mathgl.mglPDE(*args)
mglPDE = _mathgl.mglPDE

def mglQO2d(*args):
  return _mathgl.mglQO2d(*args)
mglQO2d = _mathgl.mglQO2d

def mglQO3d(*args):
  return _mathgl.mglQO3d(*args)
mglQO3d = _mathgl.mglQO3d

def mglRay(*args):
  return _mathgl.mglRay(*args)
mglRay = _mathgl.mglRay

def mglJacobian(*args):
  return _mathgl.mglJacobian(*args)
mglJacobian = _mathgl.mglJacobian

def mglTriangulation(*args):
  return _mathgl.mglTriangulation(*args)
mglTriangulation = _mathgl.mglTriangulation
class mglGraph(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglGraph, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglGraph, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _mathgl.new_mglGraph(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mathgl.delete_mglGraph
    __del__ = lambda self : None;
    def Self(self): return _mathgl.mglGraph_Self(self)
    def DefaultPlotParam(self): return _mathgl.mglGraph_DefaultPlotParam(self)
    def SetPlotId(self, *args): return _mathgl.mglGraph_SetPlotId(self, *args)
    def GetPlotId(self): return _mathgl.mglGraph_GetPlotId(self)
    def Alpha(self, *args): return _mathgl.mglGraph_Alpha(self, *args)
    def SetAlphaDef(self, *args): return _mathgl.mglGraph_SetAlphaDef(self, *args)
    def SetTranspType(self, *args): return _mathgl.mglGraph_SetTranspType(self, *args)
    def Light(self, *args): return _mathgl.mglGraph_Light(self, *args)
    def SetDifLight(self, *args): return _mathgl.mglGraph_SetDifLight(self, *args)
    def AddLight(self, *args): return _mathgl.mglGraph_AddLight(self, *args)
    def SetAmbient(self, *args): return _mathgl.mglGraph_SetAmbient(self, *args)
    def SetDiffuse(self, *args): return _mathgl.mglGraph_SetDiffuse(self, *args)
    def Fog(self, *args): return _mathgl.mglGraph_Fog(self, *args)
    def SetBarWidth(self, *args): return _mathgl.mglGraph_SetBarWidth(self, *args)
    def SetMarkSize(self, *args): return _mathgl.mglGraph_SetMarkSize(self, *args)
    def SetArrowSize(self, *args): return _mathgl.mglGraph_SetArrowSize(self, *args)
    def SetMeshNum(self, *args): return _mathgl.mglGraph_SetMeshNum(self, *args)
    def SetFaceNum(self, *args): return _mathgl.mglGraph_SetFaceNum(self, *args)
    def SetCut(self, *args): return _mathgl.mglGraph_SetCut(self, *args)
    def SetCutBox(self, *args): return _mathgl.mglGraph_SetCutBox(self, *args)
    def CutOff(self, *args): return _mathgl.mglGraph_CutOff(self, *args)
    def SetFontSize(self, *args): return _mathgl.mglGraph_SetFontSize(self, *args)
    def SetFontDef(self, *args): return _mathgl.mglGraph_SetFontDef(self, *args)
    def SetFontSizePT(self, *args): return _mathgl.mglGraph_SetFontSizePT(self, *args)
    def SetFontSizeCM(self, *args): return _mathgl.mglGraph_SetFontSizeCM(self, *args)
    def SetFontSizeIN(self, *args): return _mathgl.mglGraph_SetFontSizeIN(self, *args)
    def LoadFont(self, *args): return _mathgl.mglGraph_LoadFont(self, *args)
    def CopyFont(self, *args): return _mathgl.mglGraph_CopyFont(self, *args)
    def RestoreFont(self): return _mathgl.mglGraph_RestoreFont(self)
    def SetRotatedText(self, *args): return _mathgl.mglGraph_SetRotatedText(self, *args)
    def SetPalette(self, *args): return _mathgl.mglGraph_SetPalette(self, *args)
    def SetDefScheme(self, *args): return _mathgl.mglGraph_SetDefScheme(self, *args)
    __swig_getmethods__["SetColor"] = lambda x: _mathgl.mglGraph_SetColor
    if _newclass:SetColor = staticmethod(_mathgl.mglGraph_SetColor)
    __swig_getmethods__["SetMask"] = lambda x: _mathgl.mglGraph_SetMask
    if _newclass:SetMask = staticmethod(_mathgl.mglGraph_SetMask)
    def SetMaskAngle(self, *args): return _mathgl.mglGraph_SetMaskAngle(self, *args)
    def GetWarn(self): return _mathgl.mglGraph_GetWarn(self)
    def SetWarn(self, *args): return _mathgl.mglGraph_SetWarn(self, *args)
    def Message(self): return _mathgl.mglGraph_Message(self)
    def ZoomAxis(self, *args): return _mathgl.mglGraph_ZoomAxis(self, *args)
    def SetRange(self, *args): return _mathgl.mglGraph_SetRange(self, *args)
    def SetRanges(self, *args): return _mathgl.mglGraph_SetRanges(self, *args)
    def SetAutoRanges(self, *args): return _mathgl.mglGraph_SetAutoRanges(self, *args)
    def SetOrigin(self, *args): return _mathgl.mglGraph_SetOrigin(self, *args)
    def SetFunc(self, *args): return _mathgl.mglGraph_SetFunc(self, *args)
    def SetCoor(self, *args): return _mathgl.mglGraph_SetCoor(self, *args)
    def Ternary(self, *args): return _mathgl.mglGraph_Ternary(self, *args)
    def SetTickRotate(self, *args): return _mathgl.mglGraph_SetTickRotate(self, *args)
    def SetTickSkip(self, *args): return _mathgl.mglGraph_SetTickSkip(self, *args)
    def SetTickLen(self, *args): return _mathgl.mglGraph_SetTickLen(self, *args)
    def SetAxisStl(self, stl="k", tck=None, sub=None): return _mathgl.mglGraph_SetAxisStl(self, stl, tck, sub)
    def SetTicksTime(self, *args): return _mathgl.mglGraph_SetTicksTime(self, *args)
    def SetTicksVal(self, *args): return _mathgl.mglGraph_SetTicksVal(self, *args)
    def SetTicks(self, *args): return _mathgl.mglGraph_SetTicks(self, *args)
    def Adjust(self, dir="xyzc"): return _mathgl.mglGraph_Adjust(self, dir)
    def SetTickTempl(self, *args): return _mathgl.mglGraph_SetTickTempl(self, *args)
    def SetTuneTicks(self, *args): return _mathgl.mglGraph_SetTuneTicks(self, *args)
    def SetTickShift(self, *args): return _mathgl.mglGraph_SetTickShift(self, *args)
    def SetTimeUTC(self, *args): return _mathgl.mglGraph_SetTimeUTC(self, *args)
    def SetOriginTick(self, enable=True): return _mathgl.mglGraph_SetOriginTick(self, enable)
    def SubPlot(self, *args): return _mathgl.mglGraph_SubPlot(self, *args)
    def MultiPlot(self, *args): return _mathgl.mglGraph_MultiPlot(self, *args)
    def InPlot(self, *args): return _mathgl.mglGraph_InPlot(self, *args)
    def ColumnPlot(self, *args): return _mathgl.mglGraph_ColumnPlot(self, *args)
    def GridPlot(self, *args): return _mathgl.mglGraph_GridPlot(self, *args)
    def StickPlot(self, *args): return _mathgl.mglGraph_StickPlot(self, *args)
    def SetPlotFactor(self, *args): return _mathgl.mglGraph_SetPlotFactor(self, *args)
    def Push(self): return _mathgl.mglGraph_Push(self)
    def Pop(self): return _mathgl.mglGraph_Pop(self)
    def Title(self, *args): return _mathgl.mglGraph_Title(self, *args)
    def Aspect(self, *args): return _mathgl.mglGraph_Aspect(self, *args)
    def Rotate(self, *args): return _mathgl.mglGraph_Rotate(self, *args)
    def RotateN(self, *args): return _mathgl.mglGraph_RotateN(self, *args)
    def Perspective(self, *args): return _mathgl.mglGraph_Perspective(self, *args)
    def View(self, *args): return _mathgl.mglGraph_View(self, *args)
    def Zoom(self, *args): return _mathgl.mglGraph_Zoom(self, *args)
    def SetSize(self, *args): return _mathgl.mglGraph_SetSize(self, *args)
    def SetQuality(self, *args): return _mathgl.mglGraph_SetQuality(self, *args)
    def GetQuality(self): return _mathgl.mglGraph_GetQuality(self)
    def SetDrawReg(self, *args): return _mathgl.mglGraph_SetDrawReg(self, *args)
    def StartGroup(self, *args): return _mathgl.mglGraph_StartGroup(self, *args)
    def EndGroup(self): return _mathgl.mglGraph_EndGroup(self)
    def Highlight(self, *args): return _mathgl.mglGraph_Highlight(self, *args)
    def ShowImage(self, *args): return _mathgl.mglGraph_ShowImage(self, *args)
    def WriteFrame(self, fname=None, descr=""): return _mathgl.mglGraph_WriteFrame(self, fname, descr)
    def WriteJPEG(self, *args): return _mathgl.mglGraph_WriteJPEG(self, *args)
    def WritePNG(self, *args): return _mathgl.mglGraph_WritePNG(self, *args)
    def WriteBMP(self, *args): return _mathgl.mglGraph_WriteBMP(self, *args)
    def WriteTGA(self, *args): return _mathgl.mglGraph_WriteTGA(self, *args)
    def WriteEPS(self, *args): return _mathgl.mglGraph_WriteEPS(self, *args)
    def WriteTEX(self, *args): return _mathgl.mglGraph_WriteTEX(self, *args)
    def WriteBPS(self, *args): return _mathgl.mglGraph_WriteBPS(self, *args)
    def WriteSVG(self, *args): return _mathgl.mglGraph_WriteSVG(self, *args)
    def WriteGIF(self, *args): return _mathgl.mglGraph_WriteGIF(self, *args)
    def WriteOBJ(self, *args): return _mathgl.mglGraph_WriteOBJ(self, *args)
    def WriteOBJold(self, *args): return _mathgl.mglGraph_WriteOBJold(self, *args)
    def WriteXYZ(self, *args): return _mathgl.mglGraph_WriteXYZ(self, *args)
    def WriteSTL(self, *args): return _mathgl.mglGraph_WriteSTL(self, *args)
    def WriteOFF(self, *args): return _mathgl.mglGraph_WriteOFF(self, *args)
    def WritePRC(self, *args): return _mathgl.mglGraph_WritePRC(self, *args)
    def WriteJSON(self, *args): return _mathgl.mglGraph_WriteJSON(self, *args)
    def GetJSON(self): return _mathgl.mglGraph_GetJSON(self)
    def Finish(self): return _mathgl.mglGraph_Finish(self)
    def NewFrame(self): return _mathgl.mglGraph_NewFrame(self)
    def EndFrame(self): return _mathgl.mglGraph_EndFrame(self)
    def GetNumFrame(self): return _mathgl.mglGraph_GetNumFrame(self)
    def ResetFrames(self): return _mathgl.mglGraph_ResetFrames(self)
    def DelFrame(self, *args): return _mathgl.mglGraph_DelFrame(self, *args)
    def GetFrame(self, *args): return _mathgl.mglGraph_GetFrame(self, *args)
    def SetFrame(self, *args): return _mathgl.mglGraph_SetFrame(self, *args)
    def ShowFrame(self, *args): return _mathgl.mglGraph_ShowFrame(self, *args)
    def StartGIF(self, *args): return _mathgl.mglGraph_StartGIF(self, *args)
    def CloseGIF(self): return _mathgl.mglGraph_CloseGIF(self)
    def ExportMGLD(self, *args): return _mathgl.mglGraph_ExportMGLD(self, *args)
    def ImportMGLD(self, *args): return _mathgl.mglGraph_ImportMGLD(self, *args)
    def GetRGB(self, *args): return _mathgl.mglGraph_GetRGB(self, *args)
    def GetRGBA(self, *args): return _mathgl.mglGraph_GetRGBA(self, *args)
    def GetBGRN(self, *args): return _mathgl.mglGraph_GetBGRN(self, *args)
    def GetWidth(self): return _mathgl.mglGraph_GetWidth(self)
    def GetHeight(self): return _mathgl.mglGraph_GetHeight(self)
    def CalcXYZ(self, *args): return _mathgl.mglGraph_CalcXYZ(self, *args)
    def CalcScr(self, *args): return _mathgl.mglGraph_CalcScr(self, *args)
    def SetObjId(self, *args): return _mathgl.mglGraph_SetObjId(self, *args)
    def GetObjId(self, *args): return _mathgl.mglGraph_GetObjId(self, *args)
    def GetSplId(self, *args): return _mathgl.mglGraph_GetSplId(self, *args)
    def IsActive(self, *args): return _mathgl.mglGraph_IsActive(self, *args)
    def Combine(self, *args): return _mathgl.mglGraph_Combine(self, *args)
    def Clf(self, *args): return _mathgl.mglGraph_Clf(self, *args)
    def ClearUnused(self): return _mathgl.mglGraph_ClearUnused(self)
    def Ball(self, *args): return _mathgl.mglGraph_Ball(self, *args)
    def Line(self, *args): return _mathgl.mglGraph_Line(self, *args)
    def Curve(self, *args): return _mathgl.mglGraph_Curve(self, *args)
    def Face(self, *args): return _mathgl.mglGraph_Face(self, *args)
    def FaceX(self, *args): return _mathgl.mglGraph_FaceX(self, *args)
    def FaceY(self, *args): return _mathgl.mglGraph_FaceY(self, *args)
    def FaceZ(self, *args): return _mathgl.mglGraph_FaceZ(self, *args)
    def Drop(self, *args): return _mathgl.mglGraph_Drop(self, *args)
    def Sphere(self, *args): return _mathgl.mglGraph_Sphere(self, *args)
    def Cone(self, *args): return _mathgl.mglGraph_Cone(self, *args)
    def Ellipse(self, *args): return _mathgl.mglGraph_Ellipse(self, *args)
    def Circle(self, *args): return _mathgl.mglGraph_Circle(self, *args)
    def Rhomb(self, *args): return _mathgl.mglGraph_Rhomb(self, *args)
    def Putsw(self, *args): return _mathgl.mglGraph_Putsw(self, *args)
    def Puts(self, *args): return _mathgl.mglGraph_Puts(self, *args)
    def Text(self, *args): return _mathgl.mglGraph_Text(self, *args)
    def Box(self, col="", ticks=True): return _mathgl.mglGraph_Box(self, col, ticks)
    def Axis(self, dir="xyzt", stl="", opt=""): return _mathgl.mglGraph_Axis(self, dir, stl, opt)
    def Colorbar(self, *args): return _mathgl.mglGraph_Colorbar(self, *args)
    def AddLegend(self, *args): return _mathgl.mglGraph_AddLegend(self, *args)
    def ClearLegend(self): return _mathgl.mglGraph_ClearLegend(self)
    def Legend(self, *args): return _mathgl.mglGraph_Legend(self, *args)
    def SetLegendMarks(self, *args): return _mathgl.mglGraph_SetLegendMarks(self, *args)
    def Plot(self, *args): return _mathgl.mglGraph_Plot(self, *args)
    def Tape(self, *args): return _mathgl.mglGraph_Tape(self, *args)
    def Radar(self, *args): return _mathgl.mglGraph_Radar(self, *args)
    def Step(self, *args): return _mathgl.mglGraph_Step(self, *args)
    def Tens(self, *args): return _mathgl.mglGraph_Tens(self, *args)
    def Area(self, *args): return _mathgl.mglGraph_Area(self, *args)
    def Region(self, *args): return _mathgl.mglGraph_Region(self, *args)
    def Stem(self, *args): return _mathgl.mglGraph_Stem(self, *args)
    def Bars(self, *args): return _mathgl.mglGraph_Bars(self, *args)
    def Barh(self, *args): return _mathgl.mglGraph_Barh(self, *args)
    def Chart(self, *args): return _mathgl.mglGraph_Chart(self, *args)
    def OHLC(self, *args): return _mathgl.mglGraph_OHLC(self, *args)
    def BoxPlot(self, *args): return _mathgl.mglGraph_BoxPlot(self, *args)
    def Candle(self, *args): return _mathgl.mglGraph_Candle(self, *args)
    def Cones(self, *args): return _mathgl.mglGraph_Cones(self, *args)
    def Error(self, *args): return _mathgl.mglGraph_Error(self, *args)
    def Mark(self, *args): return _mathgl.mglGraph_Mark(self, *args)
    def TextMark(self, *args): return _mathgl.mglGraph_TextMark(self, *args)
    def Label(self, *args): return _mathgl.mglGraph_Label(self, *args)
    def Table(self, *args): return _mathgl.mglGraph_Table(self, *args)
    def Tube(self, *args): return _mathgl.mglGraph_Tube(self, *args)
    def Torus(self, *args): return _mathgl.mglGraph_Torus(self, *args)
    def Mesh(self, *args): return _mathgl.mglGraph_Mesh(self, *args)
    def Fall(self, *args): return _mathgl.mglGraph_Fall(self, *args)
    def Belt(self, *args): return _mathgl.mglGraph_Belt(self, *args)
    def Surf(self, *args): return _mathgl.mglGraph_Surf(self, *args)
    def Grid(self, *args): return _mathgl.mglGraph_Grid(self, *args)
    def Tile(self, *args): return _mathgl.mglGraph_Tile(self, *args)
    def Dens(self, *args): return _mathgl.mglGraph_Dens(self, *args)
    def Boxs(self, *args): return _mathgl.mglGraph_Boxs(self, *args)
    def Cont(self, *args): return _mathgl.mglGraph_Cont(self, *args)
    def ContF(self, *args): return _mathgl.mglGraph_ContF(self, *args)
    def ContD(self, *args): return _mathgl.mglGraph_ContD(self, *args)
    def ContV(self, *args): return _mathgl.mglGraph_ContV(self, *args)
    def Axial(self, *args): return _mathgl.mglGraph_Axial(self, *args)
    def Grid3(self, *args): return _mathgl.mglGraph_Grid3(self, *args)
    def Dens3(self, *args): return _mathgl.mglGraph_Dens3(self, *args)
    def Surf3(self, *args): return _mathgl.mglGraph_Surf3(self, *args)
    def Cloud(self, *args): return _mathgl.mglGraph_Cloud(self, *args)
    def Cont3(self, *args): return _mathgl.mglGraph_Cont3(self, *args)
    def ContF3(self, *args): return _mathgl.mglGraph_ContF3(self, *args)
    def Beam(self, *args): return _mathgl.mglGraph_Beam(self, *args)
    def TileS(self, *args): return _mathgl.mglGraph_TileS(self, *args)
    def SurfC(self, *args): return _mathgl.mglGraph_SurfC(self, *args)
    def SurfA(self, *args): return _mathgl.mglGraph_SurfA(self, *args)
    def Map(self, *args): return _mathgl.mglGraph_Map(self, *args)
    def STFA(self, *args): return _mathgl.mglGraph_STFA(self, *args)
    def Surf3A(self, *args): return _mathgl.mglGraph_Surf3A(self, *args)
    def Surf3C(self, *args): return _mathgl.mglGraph_Surf3C(self, *args)
    def Dew(self, *args): return _mathgl.mglGraph_Dew(self, *args)
    def Traj(self, *args): return _mathgl.mglGraph_Traj(self, *args)
    def Vect(self, *args): return _mathgl.mglGraph_Vect(self, *args)
    def Vect3(self, *args): return _mathgl.mglGraph_Vect3(self, *args)
    def Flow(self, *args): return _mathgl.mglGraph_Flow(self, *args)
    def FlowP(self, *args): return _mathgl.mglGraph_FlowP(self, *args)
    def Grad(self, *args): return _mathgl.mglGraph_Grad(self, *args)
    def Pipe(self, *args): return _mathgl.mglGraph_Pipe(self, *args)
    def DensX(self, *args): return _mathgl.mglGraph_DensX(self, *args)
    def DensY(self, *args): return _mathgl.mglGraph_DensY(self, *args)
    def DensZ(self, *args): return _mathgl.mglGraph_DensZ(self, *args)
    def ContX(self, *args): return _mathgl.mglGraph_ContX(self, *args)
    def ContY(self, *args): return _mathgl.mglGraph_ContY(self, *args)
    def ContZ(self, *args): return _mathgl.mglGraph_ContZ(self, *args)
    def ContFX(self, *args): return _mathgl.mglGraph_ContFX(self, *args)
    def ContFY(self, *args): return _mathgl.mglGraph_ContFY(self, *args)
    def ContFZ(self, *args): return _mathgl.mglGraph_ContFZ(self, *args)
    def FPlot(self, *args): return _mathgl.mglGraph_FPlot(self, *args)
    def FSurf(self, *args): return _mathgl.mglGraph_FSurf(self, *args)
    def TriPlot(self, *args): return _mathgl.mglGraph_TriPlot(self, *args)
    def QuadPlot(self, *args): return _mathgl.mglGraph_QuadPlot(self, *args)
    def TriCont(self, *args): return _mathgl.mglGraph_TriCont(self, *args)
    def TriContV(self, *args): return _mathgl.mglGraph_TriContV(self, *args)
    def Dots(self, *args): return _mathgl.mglGraph_Dots(self, *args)
    def Crust(self, *args): return _mathgl.mglGraph_Crust(self, *args)
    def Fit2(self, *args): return _mathgl.mglGraph_Fit2(self, *args)
    def Fit3(self, *args): return _mathgl.mglGraph_Fit3(self, *args)
    def Fit(self, *args): return _mathgl.mglGraph_Fit(self, *args)
    def FitS(self, *args): return _mathgl.mglGraph_FitS(self, *args)
    def PutsFit(self, *args): return _mathgl.mglGraph_PutsFit(self, *args)
    def GetFit(self): return _mathgl.mglGraph_GetFit(self)
    def PDE(self, *args): return _mathgl.mglGraph_PDE(self, *args)
    def Fill(self, *args): return _mathgl.mglGraph_Fill(self, *args)
    def Refill(self, *args): return _mathgl.mglGraph_Refill(self, *args)
    def DataGrid(self, *args): return _mathgl.mglGraph_DataGrid(self, *args)
    def Hist(self, *args): return _mathgl.mglGraph_Hist(self, *args)
    def Compression(self, *args): return _mathgl.mglGraph_Compression(self, *args)
    def VertexColor(self, *args): return _mathgl.mglGraph_VertexColor(self, *args)
    def DoubleSided(self, *args): return _mathgl.mglGraph_DoubleSided(self, *args)
mglGraph_swigregister = _mathgl.mglGraph_swigregister
mglGraph_swigregister(mglGraph)

def mglGraph_SetColor(*args):
  return _mathgl.mglGraph_SetColor(*args)
mglGraph_SetColor = _mathgl.mglGraph_SetColor

def mglGraph_SetMask(*args):
  return _mathgl.mglGraph_SetMask(*args)
mglGraph_SetMask = _mathgl.mglGraph_SetMask

class mglParse(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglParse, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglParse, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _mathgl.new_mglParse(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mathgl.delete_mglParse
    __del__ = lambda self : None;
    def Self(self): return _mathgl.mglParse_Self(self)
    def Parse(self, *args): return _mathgl.mglParse_Parse(self, *args)
    def Execute(self, *args): return _mathgl.mglParse_Execute(self, *args)
    def CmdType(self, *args): return _mathgl.mglParse_CmdType(self, *args)
    def CmdFormat(self, *args): return _mathgl.mglParse_CmdFormat(self, *args)
    def CmdDesc(self, *args): return _mathgl.mglParse_CmdDesc(self, *args)
    def GetCmdName(self, *args): return _mathgl.mglParse_GetCmdName(self, *args)
    def GetCmdNum(self): return _mathgl.mglParse_GetCmdNum(self)
    def AddParam(self, *args): return _mathgl.mglParse_AddParam(self, *args)
    def RestoreOnce(self): return _mathgl.mglParse_RestoreOnce(self)
    def AllowSetSize(self, *args): return _mathgl.mglParse_AllowSetSize(self, *args)
    def AllowFileIO(self, *args): return _mathgl.mglParse_AllowFileIO(self, *args)
    def Stop(self): return _mathgl.mglParse_Stop(self)
    def Calc(self, *args): return _mathgl.mglParse_Calc(self, *args)
    def AddVar(self, *args): return _mathgl.mglParse_AddVar(self, *args)
    def FindVar(self, *args): return _mathgl.mglParse_FindVar(self, *args)
    def DeleteVar(self, *args): return _mathgl.mglParse_DeleteVar(self, *args)
    def DeleteAll(self): return _mathgl.mglParse_DeleteAll(self)
mglParse_swigregister = _mathgl.mglParse_swigregister
mglParse_swigregister(mglParse)

class mglExpr(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglExpr, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglExpr, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _mathgl.new_mglExpr(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mathgl.delete_mglExpr
    __del__ = lambda self : None;
    def Eval(self, *args): return _mathgl.mglExpr_Eval(self, *args)
    def Diff(self, *args): return _mathgl.mglExpr_Diff(self, *args)
mglExpr_swigregister = _mathgl.mglExpr_swigregister
mglExpr_swigregister(mglExpr)

class mglExprC(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglExprC, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglExprC, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _mathgl.new_mglExprC(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mathgl.delete_mglExprC
    __del__ = lambda self : None;
    def Eval(self, *args): return _mathgl.mglExprC_Eval(self, *args)
mglExprC_swigregister = _mathgl.mglExprC_swigregister
mglExprC_swigregister(mglExprC)

# This file is compatible with both classic and new-style classes.