mathgl 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7da21f8407a4fec9815c7b4a243dbcd235b0d790
4
- data.tar.gz: 58ebeb769a243d649e8c31b09010a6af82342a12
3
+ metadata.gz: e8bbe45fbca997087a501520951e10cccf4ed7c5
4
+ data.tar.gz: 918520daf64104438ff0fac7e63e62c912bc8b46
5
5
  SHA512:
6
- metadata.gz: b3d1ee2ac5d134d7aff6a2a1fc35814f0d84e7f243bcd81b3e711eb93347904f3ebd5d8779a400006d3e0852516ec8e1b4bdcb977e3287a13b39bae7519ffc2c
7
- data.tar.gz: cc0f8ce9f74c90f9bb690990e3e597f54c4f67064f317cce114d239924c23c399f15468556c758a4bdf34b9407e533b2a0683c3724a4d77d3ca6ab2ef420a8f3
6
+ metadata.gz: 2963f4e8cb36ef58b23951154cac048237f7790f876dc9330504a09ce1d11bf913e04f546ab6a757643a90f51ec61e3a9d8fd3762be2757a015689a416fc7ee0
7
+ data.tar.gz: 0e15ebf237d03ecfe810534296aa995bbefd6f3b95285b5b651aa13ca4e28121ab392bdcf2bdeee52001f9246709f9bd72888f3f9255f861f5b59b2be143f3a9
data/README.md CHANGED
@@ -1,23 +1,24 @@
1
1
  # Ruby/MathGL
2
2
 
3
- Ruby wrapper of MathGL - library for scientific data visualization
4
- http://mathgl.sourceforge.net/
3
+ Ruby wrapper of [MathGL - library for scientific data visualization](http://mathgl.sourceforge.net/) made using SWIG.
5
4
 
6
5
  (This package is under construction.)
7
6
 
7
+ - [Ruby/MathGL Sample Plots](https://github.com/masa16/ruby-mathgl-sample)
8
+
8
9
  ## Installation
9
10
 
10
11
  1. Install MathGL2 library: http://mathgl.sourceforge.net/
11
12
 
12
13
  2. Install Ruby/MathGL from source:
13
14
 
14
- ruby setup.rb config --prefix=$HOME/local -- --with-mathgl-dir=/usr/local
15
- ruby setup.rb setup
16
- ruby setup.rb install
15
+ $ ruby setup.rb config -- --with-mathgl-dir=/usr/local
16
+ $ ruby setup.rb setup
17
+ $ ruby setup.rb install
17
18
 
18
- Or install with gem:
19
+ Or install with gem:
19
20
 
20
- $ gem install mathgl -- --with-mathgl-dir=/usr/local
21
+ $ gem install mathgl -- --with-mathgl-dir=/usr/local
21
22
 
22
23
  ## Usage
23
24
 
@@ -26,7 +27,7 @@ Write to PNG
26
27
  require 'mathgl'
27
28
 
28
29
  prc = proc{
29
- x = (1..100).map{|i| i*0.1}
30
+ x = (0..100).map{|i| i*0.1}
30
31
  y = x.map{|i| Math.sin(i)}
31
32
  set_ranges(0,10,-1,1)
32
33
  box
@@ -41,10 +42,9 @@ Write to PNG
41
42
  Qt window:
42
43
 
43
44
  require 'mathgl'
44
- require "mathgl/qt"
45
45
 
46
46
  prc = proc{
47
- x = (1..100).map{|i| i*0.1}
47
+ x = (0..100).map{|i| i*0.1}
48
48
  y = x.map{|i| Math.sin(i)}
49
49
  set_ranges(0,10,-1,1)
50
50
  box
data/TODO ADDED
@@ -0,0 +1,5 @@
1
+ # TODO
2
+ - NArray support
3
+ - Document conversion
4
+ - Interface for IRB
5
+ - Windows support
@@ -1916,6 +1916,7 @@ void Init_MathGL();
1916
1916
  void Init_mathgl_qt();
1917
1917
  void Init_mathgl_fltk();
1918
1918
  void Init_mathgl_glut();
1919
+
1919
1920
  void Init_mathgl() {
1920
1921
  Init_MathGL();
1921
1922
  #ifdef HAVE_QT
@@ -0,0 +1,3771 @@
1
+ # This document is converted from core_en.texi.
2
+ class MglGraph
3
+
4
+ # Create and delete objects.
5
+ # Creates the instance of class mglGraph with specified sizes width and height. Parameter kind may have following values: -- use default plotter, -- use OpenGL plotter.
6
+ # @overload initialize(kind=0,width=600,height=400)
7
+ # @param [Integer] kind default=0
8
+ # @param [Integer] width default=600
9
+ # @param [Integer] height default=400
10
+ # @return [MglGraph]
11
+ # @overload initialize(gr)
12
+ # @param [MglGraph] gr
13
+ # @return [MglGraph]
14
+ def initialize
15
+ end
16
+
17
+
18
+ # Graphics setup.
19
+ # Restore initial values for all of parameters.
20
+ # @overload default_plot_param()
21
+ # @return [nil]
22
+ def default_plot_param
23
+ end
24
+
25
+
26
+ # Transparency.
27
+ # Sets the transparency on/off and returns previous value of transparency. It is recommended to call this function before any plotting command. Default value is transparency off.
28
+ # @overload alpha(enable)
29
+ # @param [bool] enable
30
+ # @return [nil]
31
+ def alpha
32
+ end
33
+
34
+
35
+ # Transparency.
36
+ # Sets default value of alpha channel (transparency) for all plotting functions. Initial value is 0.5.
37
+ # @overload set_alpha_def(val)
38
+ # @param [Float] val
39
+ # @return [nil]
40
+ def set_alpha_def
41
+ end
42
+
43
+
44
+ # Transparency.
45
+ # Set the type of transparency. Possible values are:
46
+ # @overload set_transp_type(type)
47
+ # @param [Integer] type
48
+ # @return [nil]
49
+ def set_transp_type
50
+ end
51
+
52
+
53
+ # Lighting.
54
+ # Sets the using of light on/off for overall plot. Function returns previous value of lighting. Default value is lightning off.
55
+ # @overload light(enable)
56
+ # @param [bool] enable
57
+ # @return [bool]
58
+ def light
59
+ end
60
+
61
+
62
+ # Lighting.
63
+ # Switch on/off n-th light source separately.
64
+ # @overload light(n,enable)
65
+ # @param [Integer] n
66
+ # @param [bool] enable
67
+ # @return [nil]
68
+ def light
69
+ end
70
+
71
+
72
+ # Lighting.
73
+ # The function adds a light source with identification n in direction d with color c and with brightness bright (which must be in range [0,1]). If position r is specified and isn't NAN then light source is supposed to be local otherwise light source is supposed to be placed at infinity.
74
+ # @overload add_light(n,d,c='w',bright=0.5,ap=0)
75
+ # @param [Integer] n
76
+ # @param [MglPoint] d
77
+ # @param [String] c default='w'
78
+ # @param [Float] bright default=0.5
79
+ # @param [Float] ap default=0
80
+ # @return [nil]
81
+ # @overload add_light(n,r,d,c='w',bright=0.5,ap=0)
82
+ # @param [Integer] n
83
+ # @param [MglPoint] r
84
+ # @param [MglPoint] d
85
+ # @param [String] c default='w'
86
+ # @param [Float] bright default=0.5
87
+ # @param [Float] ap default=0
88
+ # @return [nil]
89
+ def add_light
90
+ end
91
+
92
+
93
+ # Lighting.
94
+ # Set on/off to use diffusive light (only for local light sources).
95
+ # @overload set_dif_light(enable)
96
+ # @param [bool] enable
97
+ # @return [nil]
98
+ def set_dif_light
99
+ end
100
+
101
+
102
+ # Lighting.
103
+ # Sets the brightness of ambient light. The value should be in range [0,1].
104
+ # @overload set_ambient(bright=0.5)
105
+ # @param [Float] bright default=0.5
106
+ # @return [nil]
107
+ def set_ambient
108
+ end
109
+
110
+
111
+ # Fog.
112
+ # Function imitate a fog in the plot. Fog start from relative distance dz from view point and its density growths exponentially in depth. So that the fog influence is determined by law ~ 1-exp(-*d*z*). Here *z* is normalized to 1 depth of the plot. If value d=0 then the fog is absent. Note, that fog was applied at stage of image creation, not at stage of drawing.
113
+ # @overload fog(d,dz=0.25)
114
+ # @param [Float] d
115
+ # @param [Float] dz default=0.25
116
+ # @return [nil]
117
+ def fog
118
+ end
119
+
120
+
121
+ # Default sizes.
122
+ # Sets relative width of rectangles in bars, barh, boxplot, candle. Default value is 0.7.
123
+ # @overload set_bar_width(val)
124
+ # @param [Float] val
125
+ # @return [nil]
126
+ def set_bar_width
127
+ end
128
+
129
+
130
+ # Default sizes.
131
+ # Sets size of marks for 1D plotting. Default value is 1.
132
+ # @overload set_mark_size(val)
133
+ # @param [Float] val
134
+ # @return [nil]
135
+ def set_mark_size
136
+ end
137
+
138
+
139
+ # Default sizes.
140
+ # Sets size of arrows for 1D plotting, lines and curves (see Primitives). Default value is 1.
141
+ # @overload set_arrow_size(val)
142
+ # @param [Float] val
143
+ # @return [nil]
144
+ def set_arrow_size
145
+ end
146
+
147
+
148
+ # Default sizes.
149
+ # Sets approximate number of lines in mesh, fall, grid and also the number of hachures in vect, dew and the number of cells in cloud. By default (=0) it draws all lines/hachures/cells.
150
+ # @overload set_mesh_num(val)
151
+ # @param [Integer] val
152
+ # @return [nil]
153
+ def set_mesh_num
154
+ end
155
+
156
+
157
+ # Default sizes.
158
+ # Sets approximate number of visible faces. Can be used for speeding up drawing by cost of lower quality. By default (=0) it draws all of them.
159
+ # @overload set_face_num(val)
160
+ # @param [Integer] val
161
+ # @return [nil]
162
+ def set_face_num
163
+ end
164
+
165
+
166
+ # Default sizes.
167
+ # Sets default name id as filename for saving (in FLTK window for example).
168
+ # @overload set_plot_id(id)
169
+ # @param [String] id
170
+ # @return [nil]
171
+ def set_plot_id
172
+ end
173
+
174
+
175
+ # Default sizes.
176
+ # Gets default name id as filename for saving (in FLTK window for example).
177
+ # @overload get_plot_id()
178
+ # @return [String]
179
+ def get_plot_id
180
+ end
181
+
182
+
183
+ # Cutting.
184
+ # Flag which determines how points outside bounding box are drawn. If it is true then points are excluded from plot (it is default) otherwise the points are projected to edges of bounding box.
185
+ # @overload set_cut(val)
186
+ # @param [bool] val
187
+ # @return [nil]
188
+ def set_cut
189
+ end
190
+
191
+
192
+ # Cutting.
193
+ # Lower and upper edge of the box in which never points are drawn. If both edges are the same (the variables are equal) then the cutting box is empty.
194
+ # @overload set_cut_box(p1,p1)
195
+ # @param [MglPoint] p1
196
+ # @param [MglPoint] p1
197
+ # @return [nil]
198
+ def set_cut_box
199
+ end
200
+
201
+
202
+ # Cutting.
203
+ # Sets the cutting off condition by formula cond. This condition determine will point be plotted or not. If value of formula is nonzero then point is omitted, otherwise it plotted. Set argument as "" to disable cutting off condition.
204
+ # @overload cut_off(cond)
205
+ # @param [String] cond
206
+ # @return [nil]
207
+ def cut_off
208
+ end
209
+
210
+
211
+ # Font settings.
212
+ # Sets to use or not text rotation.
213
+ # @overload set_rotated_text(val)
214
+ # @param [bool] val
215
+ # @return [nil]
216
+ def set_rotated_text
217
+ end
218
+
219
+
220
+ # Font settings.
221
+ # Load font typeface from path/name. Empty name will load default font.
222
+ # @overload load_font(name,path="")
223
+ # @param [String] name
224
+ # @param [String] path default=""
225
+ # @return [nil]
226
+ def load_font
227
+ end
228
+
229
+
230
+ # Font settings.
231
+ # Sets the font specification (see Text printing). Default is -- Roman font centering.
232
+ # @overload set_font_def(fnt)
233
+ # @param [String] fnt
234
+ # @return [nil]
235
+ def set_font_def
236
+ end
237
+
238
+
239
+ # Font settings.
240
+ # Sets the size of font for tick and axis labels. Default font size of axis labels is 1.4 times large than for tick labels.
241
+ # @overload set_font_size(val)
242
+ # @param [Float] val
243
+ # @return [nil]
244
+ def set_font_size
245
+ end
246
+
247
+
248
+ # Font settings.
249
+ # Set FontSize by size in pt and picture DPI (default is 16 pt for dpi=72).
250
+ # @overload set_font_size_pt(cm,dpi=72)
251
+ # @param [Float] cm
252
+ # @param [Integer] dpi default=72
253
+ # @return [nil]
254
+ def set_font_size_pt
255
+ end
256
+
257
+
258
+ # Font settings.
259
+ # Set FontSize by size in centimeters and picture DPI (default is 0.56 cm = 16 pt).
260
+ # @overload set_font_size_cm(cm,dpi=72)
261
+ # @param [Float] cm
262
+ # @param [Integer] dpi default=72
263
+ # @return [nil]
264
+ def set_font_size_cm
265
+ end
266
+
267
+
268
+ # Font settings.
269
+ # Set FontSize by size in inch and picture DPI (default is 0.22 in = 16 pt).
270
+ # @overload set_font_size_in(cm,dpi=72)
271
+ # @param [Float] cm
272
+ # @param [Integer] dpi default=72
273
+ # @return [nil]
274
+ def set_font_size_in
275
+ end
276
+
277
+
278
+ # Font settings.
279
+ # Load font typeface from path/name.
280
+ # @overload load_font(name,path="")
281
+ # @param [String] name
282
+ # @param [String] path default=""
283
+ # @return [nil]
284
+ def load_font
285
+ end
286
+
287
+
288
+ # Font settings.
289
+ # Copy font data from another mglGraph object.
290
+ # @overload copy_font(from)
291
+ # @param [MglGraph] from
292
+ # @return [nil]
293
+ def copy_font
294
+ end
295
+
296
+
297
+ # Font settings.
298
+ # Restore font data to default typeface.
299
+ # @overload restore_font()
300
+ # @return [nil]
301
+ def restore_font
302
+ end
303
+
304
+
305
+ # Palette and colors.
306
+ # Sets the palette as selected colors. Default value is "Hbgrcmyhlnqeup" that corresponds to colors: dark gray , blue , green , red , cyan , magenta , yellow , gray , blue-green , sky-blue , orange , yellow-green , blue-violet , purple . The palette is used mostly in 1D plots (see 1D plotting) for curves which styles are not specified. Internal color counter will be nullified by any change of palette. This includes even hidden change (for example, by box or axis functions).
307
+ # @overload set_palette(colors)
308
+ # @param [String] colors
309
+ # @return [nil]
310
+ def set_palette
311
+ end
312
+
313
+
314
+ # Palette and colors.
315
+ # Sets the sch as default color scheme. Default value is "BbcyrR".
316
+ # @overload set_def_scheme(sch)
317
+ # @param [String] sch
318
+ # @return [nil]
319
+ def set_def_scheme
320
+ end
321
+
322
+
323
+ # Error handling.
324
+ # Set warning code. Normally you should call this function only for clearing the warning state, i.e. call SetWarn(0);. Text info will be printed as is if code<0.
325
+ # @overload set_warn(code,info="")
326
+ # @param [Integer] code
327
+ # @param [String] info default=""
328
+ # @return [nil]
329
+ def set_warn
330
+ end
331
+
332
+
333
+ # Error handling.
334
+ # Return messages about matters why some plot are not drawn. If returned string is empty then there are no messages.
335
+ # @overload message()
336
+ # @return [String]
337
+ def message
338
+ end
339
+
340
+
341
+ # Error handling.
342
+ # Return the numerical ID of warning about the not drawn plot. Possible values are:
343
+ # @overload get_warn_code()
344
+ # @return [Integer]
345
+ def get_warn_code
346
+ end
347
+
348
+
349
+ # Ranges (bounding box).
350
+ # Sets the range for -,-,- coordinate or coloring (). See also ranges.
351
+ # @overload set_range(dir,v1,v2)
352
+ # @param [String] dir
353
+ # @param [Float] v1
354
+ # @param [Float] v2
355
+ # @return [nil]
356
+ def set_range
357
+ end
358
+
359
+
360
+ # Ranges (bounding box).
361
+ # Sets the range for -,-,- coordinate or coloring () as minimal and maximal values of data dat. Parameter add=on shows that the new range will be joined to existed one (not replace it).
362
+ # @overload set_range(dir,dat,add=false)
363
+ # @param [String] dir
364
+ # @param [MglData] dat
365
+ # @param [bool] add default=false
366
+ # @return [nil]
367
+ def set_range
368
+ end
369
+
370
+
371
+ # Ranges (bounding box).
372
+ # Sets the ranges of coordinates. If minimal and maximal values of the coordinate are the same then they are ignored. Also it sets the range for coloring (analogous to crange z1 z2). This is default color range for 2d plots. Initial ranges are [-1, 1].
373
+ # @overload set_ranges(p1,p2)
374
+ # @param [MglPoint] p1
375
+ # @param [MglPoint] p2
376
+ # @return [nil]
377
+ # @overload set_ranges(x1,x2,y1,y2,z1=0,z2=0)
378
+ # @param [Float] x1
379
+ # @param [Float] x2
380
+ # @param [Float] y1
381
+ # @param [Float] y2
382
+ # @param [Float] z1 default=0
383
+ # @param [Float] z2 default=0
384
+ # @return [nil]
385
+ def set_ranges
386
+ end
387
+
388
+
389
+ # Ranges (bounding box).
390
+ # Sets the ranges of -,-,-coordinates and coloring as minimal and maximal values of data xx, yy, zz, cc correspondingly.
391
+ # @overload set_ranges(xx,yy)
392
+ # @param [MglData] xx
393
+ # @param [MglData] yy
394
+ # @return [nil]
395
+ # @overload set_ranges(xx,yy,zz)
396
+ # @param [MglData] xx
397
+ # @param [MglData] yy
398
+ # @param [MglData] zz
399
+ # @return [nil]
400
+ # @overload set_ranges(xx,yy,zz,cc)
401
+ # @param [MglData] xx
402
+ # @param [MglData] yy
403
+ # @param [MglData] zz
404
+ # @param [MglData] cc
405
+ # @return [nil]
406
+ def set_ranges
407
+ end
408
+
409
+
410
+ # Ranges (bounding box).
411
+ # Sets the ranges for automatic coordinates. If minimal and maximal values of the coordinate are the same then they are ignored.
412
+ # @overload set_auto_ranges(p1,p2)
413
+ # @param [MglPoint] p1
414
+ # @param [MglPoint] p2
415
+ # @return [nil]
416
+ # @overload set_auto_ranges(x1,x2,y1,y2,z1=0,z2=0,c1=0,c2=0)
417
+ # @param [Float] x1
418
+ # @param [Float] x2
419
+ # @param [Float] y1
420
+ # @param [Float] y2
421
+ # @param [Float] z1 default=0
422
+ # @param [Float] z2 default=0
423
+ # @param [Float] c1 default=0
424
+ # @param [Float] c2 default=0
425
+ # @return [nil]
426
+ def set_auto_ranges
427
+ end
428
+
429
+
430
+ # Ranges (bounding box).
431
+ # Sets center of axis cross section. If one of values is NAN then MathGL try to select optimal axis position.
432
+ # @overload set_origin(p0)
433
+ # @param [MglPoint] p0
434
+ # @return [nil]
435
+ # @overload set_origin(x0,y0,z0=NAN)
436
+ # @param [Float] x0
437
+ # @param [Float] y0
438
+ # @param [Float] z0 default=NAN
439
+ # @return [nil]
440
+ def set_origin
441
+ end
442
+
443
+
444
+ # Ranges (bounding box).
445
+ # Additionally extend axis range for any settings made by SetRange or SetRanges functions according the formula and (or and for log-axis range when or ). Initial ranges are [0, 1]. Attention! this settings can not be overwritten by any other functions, including DefaultPlotParam().
446
+ # @overload zoom_axis(p1,p2)
447
+ # @param [MglPoint] p1
448
+ # @param [MglPoint] p2
449
+ # @return [nil]
450
+ def zoom_axis
451
+ end
452
+
453
+
454
+ # Curved coordinates.
455
+ # Sets transformation formulas for curvilinear coordinate. Each string should contain mathematical expression for real coordinate depending on internal coordinates , , and or for colorbar. For example, the cylindrical coordinates are introduced as SetFunc("x*cos(y)", "x*sin(y)", "z");. For removing of formulas the corresponding parameter should be empty or NULL. Using transformation formulas will slightly slowing the program. Parameter EqA set the similar transformation formula for color scheme. .
456
+ # @overload set_func(eqx,eqy,eqz="",eqa="")
457
+ # @param [String] eqx
458
+ # @param [String] eqy
459
+ # @param [String] eqz default=""
460
+ # @param [String] eqa default=""
461
+ # @return [nil]
462
+ def set_func
463
+ end
464
+
465
+
466
+ # Curved coordinates.
467
+ # Sets one of the predefined transformation formulas for curvilinear coordinate. Paramater how define the coordinates: mglCartesian=0 -- Cartesian coordinates (no transformation); mglPolar=1 -- Polar coordinates ; mglSpherical=2 -- Sperical coordinates ; mglParabolic=3 -- Parabolic coordinates ; mglParaboloidal=4 -- Paraboloidal coordinates ; mglOblate=5 -- Oblate coordinates ; mglProlate=6 -- Prolate coordinates ; mglElliptic=7 -- Elliptic coordinates ; mglToroidal=8 -- Toroidal coordinates ; mglBispherical=9 -- Bispherical coordinates ; mglBipolar=10 -- Bipolar coordinates ; mglLogLog=11 -- log-log coordinates ; mglLogX=12 -- log-x coordinates ; mglLogY=13 -- log-y coordinates .
468
+ # @overload set_coor(how)
469
+ # @param [Integer] how
470
+ # @return [nil]
471
+ def set_coor
472
+ end
473
+
474
+
475
+ # Curved coordinates.
476
+ # The function sets to draws Ternary (tern=1), Quaternary (tern=2) plot or projections (tern=4,5,6).
477
+ #
478
+ # Ternary plot is special plot for 3 dependent coordinates (components) a, b, c so that a+b+c=1. MathGL uses only 2 independent coordinates a=x and b=y since it is enough to plot everything. At this third coordinate z act as another parameter to produce contour lines, surfaces and so on.
479
+ #
480
+ # Correspondingly, Quaternary plot is plot for 4 dependent coordinates a, b, c and d so that a+b+c+d=1. MathGL uses only 3 independent coordinates a=x, b=y and d=z since it is enough to plot everything.
481
+ #
482
+ # Projections can be obtained by adding value 4 to tern argument. So, that tern=4 will draw projections in Cartesian coordinates, tern=5 will draw projections in Ternary coordinates, tern=6 will draw projections in Quaternary coordinates.
483
+ #
484
+ # Use Ternary(0) for returning to usual axis.
485
+ # @overload ternary(tern)
486
+ # @param [Integer] tern
487
+ # @return [nil]
488
+ def ternary
489
+ end
490
+
491
+
492
+ # Ticks.
493
+ # Set the ticks step, number of sub-ticks and initial ticks position to be the most human readable for the axis along direction(s) dir. Also set SetTuneTicks(true). Usually you don't need to call this function except the case of returning to default settings.
494
+ # @overload adjust(dir="xyzc")
495
+ # @param [String] dir default="xyzc"
496
+ # @return [nil]
497
+ def adjust
498
+ end
499
+
500
+
501
+ # Ticks.
502
+ # Set the ticks step d, number of sub-ticks ns (used for positive d) and initial ticks position org for the axis along direction dir (use 'c' for colorbar ticks). Variable d set step for axis ticks (if positive) or it's number on the axis range (if negative). Zero value set automatic ticks. If org value is NAN then axis origin is used.
503
+ # @overload set_ticks(dir,d=0,ns=0,org=NAN)
504
+ # @param [String] dir
505
+ # @param [Float] d default=0
506
+ # @param [Integer] ns default=0
507
+ # @param [Float] org default=NAN
508
+ # @return [nil]
509
+ def set_ticks
510
+ end
511
+
512
+
513
+ # Ticks.
514
+ # Set the manual positions val and its labels lbl for ticks along axis dir. If array val is absent then values equidistantly distributed in interval [Min.x, Max.x] are used. Labels are separated by symbol. Use SetTicks() to restore automatic ticks.
515
+ # @overload set_ticks_val(dir,lbl,add=false)
516
+ # @param [String] dir
517
+ # @param [String] lbl
518
+ # @param [bool] add default=false
519
+ # @return [nil]
520
+ # @overload set_ticks_val(dir,val,lbl,add=false)
521
+ # @param [String] dir
522
+ # @param [MglData] val
523
+ # @param [String] lbl
524
+ # @param [bool] add default=false
525
+ # @return [nil]
526
+ def set_ticks_val
527
+ end
528
+
529
+
530
+ # Ticks.
531
+ # Set template templ for x-,y-,z-axis ticks or colorbar ticks. It may contain TeX symbols also. If templ="" then default template is used (in simplest case it is ). Setting on template switch off automatic ticks tuning.
532
+ # @overload set_tick_templ(dir,templ)
533
+ # @param [String] dir
534
+ # @param [String] templ
535
+ # @return [nil]
536
+ def set_tick_templ
537
+ end
538
+
539
+
540
+ # Ticks.
541
+ # Sets time labels with step val and template templ for x-,y-,z-axis ticks or colorbar ticks. It may contain TeX symbols also. The format of template templ is the same as described in . Most common variants are for national representation of time, for national representation of date, for year with century. If val=0 and/or templ="" then automatic tick step and/or template will be selected. You can use mgl_get_time() function for obtaining number of second for given date/time string. Note, that MS Visual Studio couldn't handle date before 1970.
542
+ # @overload set_ticks_time(dir,val,templ)
543
+ # @param [String] dir
544
+ # @param [Float] val
545
+ # @param [String] templ
546
+ # @return [nil]
547
+ def set_ticks_time
548
+ end
549
+
550
+
551
+ # Ticks.
552
+ # Switch on/off ticks enhancing by factoring common multiplier (for small, like from 0.001 to 0.002, or large, like from 1000 to 2000, coordinate values -- enabled if tune&1 is nonzero) or common component (for narrow range, like from 0.999 to 1.000 -- enabled if tune&2 is nonzero). Also set the position pos of common multiplier/component on the axis: =0 at minimal axis value, =1 at maximal axis value. Default value is 1.15.
553
+ # @overload set_tune_ticks(tune,pos=1.15)
554
+ # @param [Integer] tune
555
+ # @param [Float] pos default=1.15
556
+ # @return [nil]
557
+ def set_tune_ticks
558
+ end
559
+
560
+
561
+ # Ticks.
562
+ # Set value of additional shift for ticks labels.
563
+ # @overload set_tick_shift(d)
564
+ # @param [MglPoint] d
565
+ # @return [nil]
566
+ def set_tick_shift
567
+ end
568
+
569
+
570
+ # Ticks.
571
+ # Enable/disable ticks rotation if there are too many ticks or ticks labels are too long.
572
+ # @overload set_tick_rotate(val)
573
+ # @param [bool] val
574
+ # @return [nil]
575
+ def set_tick_rotate
576
+ end
577
+
578
+
579
+ # Ticks.
580
+ # Enable/disable ticks skipping if there are too many ticks or ticks labels are too long.
581
+ # @overload set_tick_skip(val)
582
+ # @param [bool] val
583
+ # @return [nil]
584
+ def set_tick_skip
585
+ end
586
+
587
+
588
+ # Ticks.
589
+ #
590
+ # Enable/disable using UTC time for ticks labels. In C/Fortran you can use mgl_set_flag(gr,val, MGL_USE_GMTIME);.
591
+ # @overload set_time_utc(val)
592
+ # @param [bool] val
593
+ # @return [nil]
594
+ def set_time_utc
595
+ end
596
+
597
+
598
+ # Ticks.
599
+ # Enable/disable drawing of ticks labels at axis origin. In C/Fortran you can use mgl_set_flag(gr,val, MGL_NO_ORIGIN);.
600
+ # @overload set_origin_tick(val=true)
601
+ # @param [bool] val default=true
602
+ # @return [nil]
603
+ def set_origin_tick
604
+ end
605
+
606
+
607
+ # Ticks.
608
+ # The relative length of axis ticks. Default value is 0.1. Parameter stt>0 set relative length of subticks which is in sqrt(1+stt) times smaller.
609
+ # @overload set_tick_len(val,stt=1)
610
+ # @param [Float] val
611
+ # @param [Float] stt default=1
612
+ # @return [nil]
613
+ def set_tick_len
614
+ end
615
+
616
+
617
+ # Ticks.
618
+ # The line style of axis (stl), ticks (tck) and subticks (sub). If stl is empty then default style is used ( or depending on transparency type). If tck or sub is empty then axis style is used (i.e. stl).
619
+ # @overload set_axis_stl(stl="k",tck=0,sub=0)
620
+ # @param [String] stl default="k"
621
+ # @param [String] tck default=0
622
+ # @param [String] sub default=0
623
+ # @return [nil]
624
+ def set_axis_stl
625
+ end
626
+
627
+
628
+ # Subplots and rotation.
629
+ # Puts further plotting in a m-th cell of nx*ny grid of the whole frame area. This function set off any aspects or rotations. So it should be used first for creating the subplot. Extra space will be reserved for axis/colorbar if stl contain:
630
+ # From the aesthetical point of view it is not recommended to use this function with different matrices in the same frame. The position of the cell can be shifted from its default position by relative size dx, dy.
631
+ # @overload sub_plot(nx,ny,m,stl="<>_^",dx=0,dy=0)
632
+ # @param [Integer] nx
633
+ # @param [Integer] ny
634
+ # @param [Integer] m
635
+ # @param [String] stl default="<>_^"
636
+ # @param [Float] dx default=0
637
+ # @param [Float] dy default=0
638
+ # @return [nil]
639
+ def sub_plot
640
+ end
641
+
642
+
643
+ # Subplots and rotation.
644
+ # Puts further plotting in a rectangle of dx*dy cells starting from m-th cell of nx*ny grid of the whole frame area. This function set off any aspects or rotations. So it should be used first for creating subplot. Extra space will be reserved for axis/colorbar if stl contain:
645
+ # @overload multi_plot(nx,ny,m,dx,dy,stl="<>_^")
646
+ # @param [Integer] nx
647
+ # @param [Integer] ny
648
+ # @param [Integer] m
649
+ # @param [Integer] dx
650
+ # @param [Integer] dy
651
+ # @param [String] stl default="<>_^"
652
+ # @return [nil]
653
+ def multi_plot
654
+ end
655
+
656
+
657
+ # Subplots and rotation.
658
+ # Puts further plotting in some region of the whole frame surface. This function allows one to create a plot in arbitrary place of the screen. The position is defined by rectangular coordinates [x1, x2]*[y1, y2]. The coordinates x1, x2, y1, y2 are normalized to interval [0, 1]. If parameter rel=true then the relative position to current subplot (or inplot with rel=false) is used. This function set off any aspects or rotations. So it should be used first for creating subplot.
659
+ # @overload in_plot(x1,x2,y1,y2,rel=true)
660
+ # @param [Float] x1
661
+ # @param [Float] x2
662
+ # @param [Float] y1
663
+ # @param [Float] y2
664
+ # @param [bool] rel default=true
665
+ # @return [nil]
666
+ def in_plot
667
+ end
668
+
669
+
670
+ # Subplots and rotation.
671
+ # Puts further plotting in ind-th cell of column with num cells. The position is relative to previous subplot (or inplot with rel=false). Parameter d set extra gap between cells.
672
+ # @overload column_plot(num,ind,d=0)
673
+ # @param [Integer] num
674
+ # @param [Integer] ind
675
+ # @param [Float] d default=0
676
+ # @return [nil]
677
+ def column_plot
678
+ end
679
+
680
+
681
+ # Subplots and rotation.
682
+ # Puts further plotting in ind-th cell of nx*ny grid. The position is relative to previous subplot (or inplot with rel=false). Parameter d set extra gap between cells.
683
+ # @overload grid_plot(nx,ny,ind,d=0)
684
+ # @param [Integer] nx
685
+ # @param [Integer] ny
686
+ # @param [Integer] ind
687
+ # @param [Float] d default=0
688
+ # @return [nil]
689
+ def grid_plot
690
+ end
691
+
692
+
693
+ # Subplots and rotation.
694
+ # Puts further plotting in ind-th cell of stick with num cells. At this, stick is rotated on angles tet, phi. The position is relative to previous subplot (or inplot with rel=false).
695
+ # @overload stick_plot(num,ind,tet,phi)
696
+ # @param [Integer] num
697
+ # @param [Integer] ind
698
+ # @param [Float] tet
699
+ # @param [Float] phi
700
+ # @return [nil]
701
+ def stick_plot
702
+ end
703
+
704
+
705
+ # Subplots and rotation.
706
+ # Add text title for current subplot/inplot. Paramater stl can contain:
707
+ # Parameter size set font size. This function set off any aspects or rotations. So it should be used just after creating subplot.
708
+ # @overload title(txt,stl="",size=-2)
709
+ # @param [String] txt
710
+ # @param [String] stl default=""
711
+ # @param [Float] size default=-2
712
+ # @return [nil]
713
+ def title
714
+ end
715
+
716
+
717
+ # Subplots and rotation.
718
+ # Rotates a further plotting relative to each axis (x, z, y) consecutively on angles TetX, TetZ, TetY.
719
+ # @overload rotate(tetx,tetz,tety=0)
720
+ # @param [Float] tetx
721
+ # @param [Float] tetz
722
+ # @param [Float] tety default=0
723
+ # @return [nil]
724
+ def rotate
725
+ end
726
+
727
+
728
+ # Subplots and rotation.
729
+ # Rotates a further plotting around vector (x, y, z) on angle Tet.
730
+ # @overload rotate_n(tet,x,y,z)
731
+ # @param [Float] tet
732
+ # @param [Float] x
733
+ # @param [Float] y
734
+ # @param [Float] z
735
+ # @return [nil]
736
+ def rotate_n
737
+ end
738
+
739
+
740
+ # Subplots and rotation.
741
+ # Defines aspect ratio for the plot. The viewable axes will be related one to another as the ratio Ax:Ay:Az. For the best effect it should be used after rotate function. If Ax is NAN then function try to select optimal aspect ratio to keep equal ranges for x-y axis. At this, Ay will specify proportionality factor, or set to use automatic one if Ay=NAN.
742
+ # @overload aspect(ax,ay,az=1)
743
+ # @param [Float] ax
744
+ # @param [Float] ay
745
+ # @param [Float] az default=1
746
+ # @return [nil]
747
+ def aspect
748
+ end
749
+
750
+
751
+ # Subplots and rotation.
752
+ # Add (switch on) the perspective to plot. The parameter \in [0,1)}. By default (a=0) the perspective is off.
753
+ # @overload perspective(a)
754
+ # @param [Float] a
755
+ # @return [nil]
756
+ def perspective
757
+ end
758
+
759
+
760
+ # Subplots and rotation.
761
+ # Push transformation matrix into stack. Later you can restore its current state by Pop() function.
762
+ # @overload push()
763
+ # @return [nil]
764
+ def push
765
+ end
766
+
767
+
768
+ # Subplots and rotation.
769
+ # Pop (restore last 'pushed') transformation matrix into stack.
770
+ # @overload pop()
771
+ # @return [nil]
772
+ def pop
773
+ end
774
+
775
+
776
+ # Subplots and rotation.
777
+ # Sets the factor of plot size. It is not recommended to set it lower then 1.5. This is some analogue of function Zoom() but applied not to overall image but for each InPlot. Use negative value or zero to enable automatic selection.
778
+ # @overload set_plot_factor(val)
779
+ # @param [Float] val
780
+ # @return [nil]
781
+ def set_plot_factor
782
+ end
783
+
784
+
785
+ # Subplots and rotation.
786
+ # Rotates a further plotting relative to each axis (x, z, y) consecutively on angles TetX, TetZ, TetY. Rotation is done independently on rotate. Attention! this settings can not be overwritten by DefaultPlotParam(). Use Zoom(0,0,1,1) to return default view.
787
+ # @overload view(tetx,tetz,tety=0)
788
+ # @param [Float] tetx
789
+ # @param [Float] tetz
790
+ # @param [Float] tety default=0
791
+ # @return [nil]
792
+ def view
793
+ end
794
+
795
+
796
+ # Subplots and rotation.
797
+ # The function changes the scale of graphics that correspond to zoom in/out of the picture. After function call the current plot will be cleared and further the picture will contain plotting from its part [x1,x2]*[y1,y2]. Here picture coordinates x1, x2, y1, y2 changes from 0 to 1. Attention! this settings can not be overwritten by any other functions, including DefaultPlotParam(). Use Zoom(0,0,1,1) to return default view.
798
+ # @overload zoom(x1,y1,x2,y2)
799
+ # @param [Float] x1
800
+ # @param [Float] y1
801
+ # @param [Float] x2
802
+ # @param [Float] y2
803
+ # @return [nil]
804
+ def zoom
805
+ end
806
+
807
+
808
+ # Export picture.
809
+ # Sets size of picture in pixels. This function called before any other plotting because it completely remove picture contents.
810
+ # @overload set_size(width,height)
811
+ # @param [Integer] width
812
+ # @param [Integer] height
813
+ # @return [nil]
814
+ def set_size
815
+ end
816
+
817
+
818
+ # Export picture.
819
+ # Sets quality of the plot depending on value val: MGL_DRAW_WIRE=0 -- no face drawing (fastest), MGL_DRAW_FAST=1 -- no color interpolation (fast), MGL_DRAW_NORM=2 -- high quality (normal), MGL_DRAW_HIGH=3 -- high quality with 3d primitives (arrows and marks). If MGL_DRAW_LMEM=0x4 is set then direct bitmap drawing is used (low memory usage).
820
+ # @overload set_quality(val=MGL_DRAW_NORM)
821
+ # @param [Integer] val default=MGL_DRAW_NORM
822
+ # @return [nil]
823
+ def set_quality
824
+ end
825
+
826
+
827
+ # Export picture.
828
+ # Gets quality of the plot: MGL_DRAW_WIRE=0 -- no face drawing (fastest), MGL_DRAW_FAST=1 -- no color interpolation (fast), MGL_DRAW_NORM=2 -- high quality (normal), MGL_DRAW_HIGH=3 -- high quality with 3d primitives (arrows and marks). If MGL_DRAW_LMEM=0x4 is set then direct bitmap drawing is used (low memory usage).
829
+ # @overload get_quality()
830
+ # @return [Integer]
831
+ def get_quality
832
+ end
833
+
834
+
835
+ # Export picture.
836
+ # Starts group definition. Groups contain objects and other groups, they are used to select a part of a model to zoom to or to make invizible or to make semitransparent and so on.
837
+ # @overload start_group(name)
838
+ # @param [String] name
839
+ # @return [nil]
840
+ def start_group
841
+ end
842
+
843
+
844
+ # Export picture.
845
+ # Ends group definition.
846
+ # @overload end_group()
847
+ # @return [nil]
848
+ def end_group
849
+ end
850
+
851
+
852
+ # Export to file.
853
+ # Exports current frame to a file fname which type is determined by the extension. Parameter descr adds description to file (can be ""). If fname="" then the file is used, where is current frame id and name is defined by plotid class property.
854
+ # @overload write_frame(fname="",descr="")
855
+ # @param [String] fname default=""
856
+ # @param [String] descr default=""
857
+ # @return [nil]
858
+ def write_frame
859
+ end
860
+
861
+
862
+ # Export to file.
863
+ # Exports current frame to PNG file. Parameter fname specifies the file name, descr adds description to file, alpha gives the transparency type. By default there are no description added and semitransparent image used. This function does nothing if HAVE_PNG isn't defined during compilation of MathGL library.
864
+ # @overload write_png(fname,descr="",compr="",alpha=true)
865
+ # @param [String] fname
866
+ # @param [String] descr default=""
867
+ # @param [Integer] compr default=""
868
+ # @param [bool] alpha default=true
869
+ # @return [nil]
870
+ def write_png
871
+ end
872
+
873
+
874
+ # Export to file.
875
+ # Exports current frame to JPEG file. Parameter fname specifies the file name, descr adds description to file. By default there is no description added. This function does nothing if HAVE_JPEG isn't defined during compilation of MathGL library.
876
+ # @overload write_jpeg(fname,descr="")
877
+ # @param [String] fname
878
+ # @param [String] descr default=""
879
+ # @return [nil]
880
+ def write_jpeg
881
+ end
882
+
883
+
884
+ # Export to file.
885
+ # Exports current frame to GIF file. Parameter fname specifies the file name, descr adds description to file. By default there is no description added. This function does nothing if HAVE_GIF isn't defined during compilation of MathGL library.
886
+ # @overload write_gif(fname,descr="")
887
+ # @param [String] fname
888
+ # @param [String] descr default=""
889
+ # @return [nil]
890
+ def write_gif
891
+ end
892
+
893
+
894
+ # Export to file.
895
+ # Exports current frame to BMP file. Parameter fname specifies the file name, descr adds description to file. There is no compression used.
896
+ # @overload write_bmp(fname,descr="")
897
+ # @param [String] fname
898
+ # @param [String] descr default=""
899
+ # @return [nil]
900
+ def write_bmp
901
+ end
902
+
903
+
904
+ # Export to file.
905
+ # Exports current frame to TGA file. Parameter fname specifies the file name, descr adds description to file. There is no compression used.
906
+ # @overload write_tga(fname,descr="")
907
+ # @param [String] fname
908
+ # @param [String] descr default=""
909
+ # @return [nil]
910
+ def write_tga
911
+ end
912
+
913
+
914
+ # Export to file.
915
+ # Exports current frame to EPS file using vector representation. So it is not recommended for the export of large data plot. It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file. By default there is no description added. If file name is terminated by (for example, ) then file will be compressed in gzip format.
916
+ # @overload write_eps(fname,descr="")
917
+ # @param [String] fname
918
+ # @param [String] descr default=""
919
+ # @return [nil]
920
+ def write_eps
921
+ end
922
+
923
+
924
+ # Export to file.
925
+ # Exports current frame to EPS file using bitmap representation. Parameter fname specifies the file name, descr adds description to file. By default there is no description added. If file name is terminated by (for example, ) then file will be compressed in gzip format.
926
+ # @overload write_bps(fname,descr="")
927
+ # @param [String] fname
928
+ # @param [String] descr default=""
929
+ # @return [nil]
930
+ def write_bps
931
+ end
932
+
933
+
934
+ # Export to file.
935
+ # Exports current frame to SVG (Scalable Vector Graphics) file using vector representation. In difference of EPS format, SVG format support transparency that allows to correctly draw semitransparent plot (like surfa, surf3a or cloud). Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name). If file name is terminated by (for example, ) then file will be compressed in gzip format.
936
+ # @overload write_svg(fname,descr="")
937
+ # @param [String] fname
938
+ # @param [String] descr default=""
939
+ # @return [nil]
940
+ def write_svg
941
+ end
942
+
943
+
944
+ # Export to file.
945
+ # Exports current frame to LaTeX (package Tikz/PGF) file using vector representation. Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name). Note, there is no text scaling now (for example, in subplots), what may produce miss-aligned labels.
946
+ # @overload write_tex(fname,descr="")
947
+ # @param [String] fname
948
+ # @param [String] descr default=""
949
+ # @return [nil]
950
+ def write_tex
951
+ end
952
+
953
+
954
+ # Export to file.
955
+ # Exports current frame to PRC file using vector representation (see ). Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name). If parameter make_pdf=true and PDF was enabled at MathGL configure then corresponding PDF file with 3D image will be created.
956
+ # @overload write_prc(fname,descr="",make_pdf=true)
957
+ # @param [String] fname
958
+ # @param [String] descr default=""
959
+ # @param [bool] make_pdf default=true
960
+ # @return [nil]
961
+ def write_prc
962
+ end
963
+
964
+
965
+ # Export to file.
966
+ # Exports current frame to OBJ/MTL file using vector representation (see for details). Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name).
967
+ # @overload write_obj(fname,descr="")
968
+ # @param [String] fname
969
+ # @param [String] descr default=""
970
+ # @return [nil]
971
+ def write_obj
972
+ end
973
+
974
+
975
+ # Export to file.
976
+ # Exports current frame to XYZ/XYZL/XYZF files using vector representation (see for details). Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name).
977
+ # @overload write_xyz(fname,descr="")
978
+ # @param [String] fname
979
+ # @param [String] descr default=""
980
+ # @return [nil]
981
+ def write_xyz
982
+ end
983
+
984
+
985
+ # Export to file.
986
+ # Exports current frame to STL file using vector representation (see for details). Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name.
987
+ # @overload write_stl(fname,descr="")
988
+ # @param [String] fname
989
+ # @param [String] descr default=""
990
+ # @return [nil]
991
+ def write_stl
992
+ end
993
+
994
+
995
+ # Export to file.
996
+ # Exports current frame to OFF file using vector representation (see for details). Note, the output file may be too large for graphic of large data array (especially for surfaces). It is better to use bitmap format (for example PNG or JPEG). However, program has no internal limitations for size of output file. Parameter fname specifies the file name, descr adds description to file (default is file name).
997
+ # @overload write_off(fname,descr="",colored=false)
998
+ # @param [String] fname
999
+ # @param [String] descr default=""
1000
+ # @param [bool] colored default=false
1001
+ # @return [nil]
1002
+ def write_off
1003
+ end
1004
+
1005
+
1006
+ # Export to file.
1007
+ # Displays the current picture using external program viewer for viewing. The function save the picture to temporary file and call viewer to display it. If nowait=true then the function return immediately (it will not wait while window will be closed).
1008
+ # @overload show_image(viewer,nowait=false)
1009
+ # @param [String] viewer
1010
+ # @param [bool] nowait default=false
1011
+ # @return [nil]
1012
+ def show_image
1013
+ end
1014
+
1015
+
1016
+ # Export to file.
1017
+ # Exports current frame to textual file using JSON format. Later this file can be used for faster loading and viewing by JavaScript script. Parameter fname specifies the file name, descr adds description to file.
1018
+ # @overload write_json(fname,descr="")
1019
+ # @param [String] fname
1020
+ # @param [String] descr default=""
1021
+ # @return [nil]
1022
+ def write_json
1023
+ end
1024
+
1025
+
1026
+ # Export to file.
1027
+ # Exports points and primitives in file using MGLD format. Later this file can be used for faster loading and viewing by mglview utility. Parameter fname specifies the file name, descr adds description to file (default is file name).
1028
+ # @overload export_mgld(fname,descr="")
1029
+ # @param [String] fname
1030
+ # @param [String] descr default=""
1031
+ # @return [nil]
1032
+ def export_mgld
1033
+ end
1034
+
1035
+
1036
+ # Export to file.
1037
+ # Imports points and primitives in file using MGLD format. Later this file can be used for faster loading and viewing by mglview utility. Parameter fname specifies the file name, add sets to append or replace primitives to existed ones.
1038
+ # @overload import_mgld(fname,add=false)
1039
+ # @param [String] fname
1040
+ # @param [bool] add default=false
1041
+ # @return [nil]
1042
+ def import_mgld
1043
+ end
1044
+
1045
+
1046
+ # Frames/Animation.
1047
+ # Creates new frame. Function returns current frame id. This is not thread safe function in OpenGL mode! Use direct list creation in multi-threading drawing. The function EndFrame() be call after the finishing of the frame drawing for each call of this function.
1048
+ # @overload new_frame()
1049
+ # @return [nil]
1050
+ def new_frame
1051
+ end
1052
+
1053
+
1054
+ # Frames/Animation.
1055
+ # Finishes the frame drawing.
1056
+ # @overload end_frame()
1057
+ # @return [nil]
1058
+ def end_frame
1059
+ end
1060
+
1061
+
1062
+ # Frames/Animation.
1063
+ # Gets the number of created frames.
1064
+ # @overload get_num_frame()
1065
+ # @return [Integer]
1066
+ def get_num_frame
1067
+ end
1068
+
1069
+
1070
+ # Frames/Animation.
1071
+ # Finishes the frame drawing and sets drawing data to frame i, which should be in range [0, GetNumFrame()-1]. This function is similar to EndFrame() but don't add frame to the GIF image.
1072
+ # @overload set_frame(i)
1073
+ # @param [Integer] i
1074
+ # @return [nil]
1075
+ def set_frame
1076
+ end
1077
+
1078
+
1079
+ # Frames/Animation.
1080
+ # Replaces drawing data by one from frame i. Function work if MGL_VECT_FRAME is set on (by default).
1081
+ # @overload get_frame(i)
1082
+ # @param [Integer] i
1083
+ # @return [nil]
1084
+ def get_frame
1085
+ end
1086
+
1087
+
1088
+ # Frames/Animation.
1089
+ # Appends drawing data from frame i to current one. Function work if MGL_VECT_FRAME is set on (by default).
1090
+ # @overload show_frame(i)
1091
+ # @param [Integer] i
1092
+ # @return [nil]
1093
+ def show_frame
1094
+ end
1095
+
1096
+
1097
+ # Frames/Animation.
1098
+ # Deletes drawing data for frame i and shift all later frame indexes. Function work if MGL_VECT_FRAME is set on (by default). Do nothing in OpenGL mode.
1099
+ # @overload del_frame(i)
1100
+ # @param [Integer] i
1101
+ # @return [nil]
1102
+ def del_frame
1103
+ end
1104
+
1105
+
1106
+ # Frames/Animation.
1107
+ # Reset frames counter (start it from zero).
1108
+ # @overload reset_frames()
1109
+ # @return [nil]
1110
+ def reset_frames
1111
+ end
1112
+
1113
+
1114
+ # Frames/Animation.
1115
+ # Start writing frames into animated GIF file fname. Parameter ms set the delay between frames in milliseconds. You change the picture size during writing the cinema. Use CloseGIF() to finalize writing. Note, that this function is disabled in OpenGL mode.
1116
+ # @overload start_gif(fname,ms=100)
1117
+ # @param [String] fname
1118
+ # @param [Integer] ms default=100
1119
+ # @return [nil]
1120
+ def start_gif
1121
+ end
1122
+
1123
+
1124
+ # Frames/Animation.
1125
+ # Finish writing animated GIF and close connected pointers.
1126
+ # @overload close_gif()
1127
+ # @return [nil]
1128
+ def close_gif
1129
+ end
1130
+
1131
+
1132
+ # Bitmap in memory.
1133
+ # Gets RGB bitmap of the current state of the image. Format of each element of bits is: (red, green, blue). Number of elements is Width*Height. Position of element (i,j) is [3*i + 3*Width*j] (or is [4*i + 4*Width*j] for GetBGRN()). You have to provide the proper size of the buffer, buf, i.e. the code for Python should look like
1134
+ # @overload get_rgb()
1135
+ # @return [unsigned char]
1136
+ # @overload get_rgb(buf,size)
1137
+ # @param [String] buf
1138
+ # @param [Integer] size
1139
+ # @return [nil]
1140
+ # @overload get_bgrn(buf,size)
1141
+ # @param [String] buf
1142
+ # @param [Integer] size
1143
+ # @return [nil]
1144
+ def get_bgrn
1145
+ end
1146
+
1147
+
1148
+ # Bitmap in memory.
1149
+ # Gets RGBA bitmap of the current state of the image. Format of each element of bits is: (red, green, blue, alpha). Number of elements is Width*Height. Position of element (i,j) is [4*i + 4*Width*j].
1150
+ # @overload get_rgba()
1151
+ # @return [unsigned char]
1152
+ # @overload get_rgba(buf,size)
1153
+ # @param [String] buf
1154
+ # @param [Integer] size
1155
+ # @return [nil]
1156
+ def get_rgba
1157
+ end
1158
+
1159
+
1160
+ # Bitmap in memory.
1161
+ # Gets width and height of the image.
1162
+ # @overload get_width()
1163
+ # @return [Integer]
1164
+ # @overload get_height()
1165
+ # @return [Integer]
1166
+ def get_height
1167
+ end
1168
+
1169
+
1170
+ # Bitmap in memory.
1171
+ # Calculate 3D coordinate (x,y,z) for screen point (xs,ys). At this moment it ignore perspective and transformation formulas (curvilinear coordinates). The calculation are done for the last used InPlot (see Subplots and rotation).
1172
+ # @overload calc_xyz(xs,ys)
1173
+ # @param [Integer] xs
1174
+ # @param [Integer] ys
1175
+ # @return [MglPoint]
1176
+ def calc_xyz
1177
+ end
1178
+
1179
+
1180
+ # Bitmap in memory.
1181
+ # Calculate screen point (xs,ys) for 3D coordinate (x,y,z). The calculation are done for the last used InPlot (see Subplots and rotation).
1182
+ # @overload calc_scr(p)
1183
+ # @param [MglPoint] p
1184
+ # @return [MglPoint]
1185
+ def calc_scr
1186
+ end
1187
+
1188
+
1189
+ # Bitmap in memory.
1190
+ # Set the numeric id for object or subplot/inplot.
1191
+ # @overload set_obj_id(id)
1192
+ # @param [Integer] id
1193
+ # @return [nil]
1194
+ def set_obj_id
1195
+ end
1196
+
1197
+
1198
+ # Bitmap in memory.
1199
+ # Get the numeric id for most upper object at pixel (xs, ys) of the picture.
1200
+ # @overload get_obj_id(xs,ys)
1201
+ # @param [Integer] xs
1202
+ # @param [Integer] ys
1203
+ # @return [Integer]
1204
+ def get_obj_id
1205
+ end
1206
+
1207
+
1208
+ # Bitmap in memory.
1209
+ # Get the numeric id for most subplot/inplot at pixel (xs, ys) of the picture.
1210
+ # @overload get_spl_id(xs,ys)
1211
+ # @param [Integer] xs
1212
+ # @param [Integer] ys
1213
+ # @return [Integer]
1214
+ def get_spl_id
1215
+ end
1216
+
1217
+
1218
+ # Bitmap in memory.
1219
+ # Highlight the object with given id.
1220
+ # @overload highlight(id)
1221
+ # @param [Integer] id
1222
+ # @return [nil]
1223
+ def highlight
1224
+ end
1225
+
1226
+
1227
+ # Bitmap in memory.
1228
+ # Checks if point (xs, ys) is close to one of active point (i.e. mglBase::Act) with accuracy d and return its index or -1 if not found. Active points are special points which characterize primitives (like edges and so on). This function for advanced users only.
1229
+ # @overload is_active(xs,ys,d=1)
1230
+ # @param [Integer] xs
1231
+ # @param [Integer] ys
1232
+ # @param [Integer] d default=1
1233
+ # @return [long]
1234
+ def is_active
1235
+ end
1236
+
1237
+
1238
+ # Parallelization.
1239
+ # Combine drawing from instance g with gr (or with this) taking into account Z-ordering of pixels. The width and height of both instances must be the same.
1240
+ # @overload combine(g)
1241
+ # @param [MglGraph] g
1242
+ # @return [Integer]
1243
+ def combine
1244
+ end
1245
+
1246
+
1247
+ # Parallelization.
1248
+ # Send graphical information from node id using MPI. The width and height in both nodes must be the same.
1249
+ # @overload mpi_send(id)
1250
+ # @param [Integer] id
1251
+ # @return [Integer]
1252
+ def mpi_send
1253
+ end
1254
+
1255
+
1256
+ # Parallelization.
1257
+ # Receive graphical information from node id using MPI. The width and height in both nodes must be the same.
1258
+ # @overload mpi_recv(id)
1259
+ # @param [Integer] id
1260
+ # @return [Integer]
1261
+ def mpi_recv
1262
+ end
1263
+
1264
+
1265
+ # Primitives.
1266
+ # Clear the picture and fill it by color specified color.
1267
+ # @overload clf()
1268
+ # @return [nil]
1269
+ # @overload clf(r,g,b)
1270
+ # @param [Float] r
1271
+ # @param [Float] g
1272
+ # @param [Float] b
1273
+ # @return [nil]
1274
+ def clf
1275
+ end
1276
+
1277
+
1278
+ # Primitives.
1279
+ # Draws a mark (point by default) at position p=(x, y, z) with color col.
1280
+ # @overload ball(p,col='r')
1281
+ # @param [MglPoint] p
1282
+ # @param [String] col default='r'
1283
+ # @return [nil]
1284
+ # @overload mark(p,mark)
1285
+ # @param [MglPoint] p
1286
+ # @param [String] mark
1287
+ # @return [nil]
1288
+ def mark
1289
+ end
1290
+
1291
+
1292
+ # Primitives.
1293
+ # Draws a 3d error box at position p=(x, y, z) with sizes e=(ex, ey, ez) and style stl. Use NAN for component of e to reduce number of drawn elements.
1294
+ # @overload error(p,e,stl="")
1295
+ # @param [MglPoint] p
1296
+ # @param [MglPoint] e
1297
+ # @param [String] stl default=""
1298
+ # @return [nil]
1299
+ def error
1300
+ end
1301
+
1302
+
1303
+ # Primitives.
1304
+ # Draws a geodesic line (straight line in Cartesian coordinates) from point p1 to p2 using line style stl. Parameter num define the ``quality'' of the line. If num=2 then the stright line will be drawn in all coordinate system (independently on transformation formulas (see Curved coordinates). Contrary, for large values (for example, =100) the geodesic line will be drawn in corresponding coordinate system (straight line in Cartesian coordinates, circle in polar coordinates and so on). Line will be drawn even if it lies out of bounding box.
1305
+ # @overload line(p1,p2,stl="B",num=2)
1306
+ # @param [MglPoint] p1
1307
+ # @param [MglPoint] p2
1308
+ # @param [String] stl default="B"
1309
+ # @param [Integer] num default=2
1310
+ # @return [nil]
1311
+ def line
1312
+ end
1313
+
1314
+
1315
+ # Primitives.
1316
+ # Draws Bezier-like curve from point p1 to p2 using line style stl. At this tangent is codirected with d1, d2 and proportional to its amplitude. Parameter num define the ``quality'' of the curve. If num=2 then the straight line will be drawn in all coordinate system (independently on transformation formulas, see Curved coordinates). Contrary, for large values (for example, =100) the spline like Bezier curve will be drawn in corresponding coordinate system. Curve will be drawn even if it lies out of bounding box.
1317
+ # @overload curve(p1,d1,p2,d2,stl="B",num=100)
1318
+ # @param [MglPoint] p1
1319
+ # @param [MglPoint] d1
1320
+ # @param [MglPoint] p2
1321
+ # @param [MglPoint] d2
1322
+ # @param [String] stl default="B"
1323
+ # @param [Integer] num default=100
1324
+ # @return [nil]
1325
+ def curve
1326
+ end
1327
+
1328
+
1329
+ # Primitives.
1330
+ # Draws the solid quadrangle (face) with vertexes p1, p2, p3, p4 and with color(s) stl. At this colors can be the same for all vertexes or different if all 4 colors are specified for each vertex. Face will be drawn even if it lies out of bounding box.
1331
+ # @overload face(p1,p2,p3,p4,stl="w")
1332
+ # @param [MglPoint] p1
1333
+ # @param [MglPoint] p2
1334
+ # @param [MglPoint] p3
1335
+ # @param [MglPoint] p4
1336
+ # @param [String] stl default="w"
1337
+ # @return [nil]
1338
+ def face
1339
+ end
1340
+
1341
+
1342
+ # Primitives.
1343
+ # Draws the solid rectangle (face) perpendicular to [x,y,z]-axis correspondingly at position (x0, y0, z0) with color stl and with widths wx, wy, wz along corresponding directions. At this colors can be the same for all vertexes or separately if all 4 colors are specified for each vertex. Parameters d1!=0, d2!=0 set additional shift of the last vertex (i.e. to draw quadrangle). Face will be drawn even if it lies out of bounding box.
1344
+ # @overload face_x(x0,y0,z0,wy,wz,stl="w",d1=0,d2=0)
1345
+ # @param [Float] x0
1346
+ # @param [Float] y0
1347
+ # @param [Float] z0
1348
+ # @param [Float] wy
1349
+ # @param [Float] wz
1350
+ # @param [String] stl default="w"
1351
+ # @param [Float] d1 default=0
1352
+ # @param [Float] d2 default=0
1353
+ # @return [nil]
1354
+ # @overload face_y(x0,y0,z0,wx,wz,stl="w",d1=0,d2=0)
1355
+ # @param [Float] x0
1356
+ # @param [Float] y0
1357
+ # @param [Float] z0
1358
+ # @param [Float] wx
1359
+ # @param [Float] wz
1360
+ # @param [String] stl default="w"
1361
+ # @param [Float] d1 default=0
1362
+ # @param [Float] d2 default=0
1363
+ # @return [nil]
1364
+ # @overload face_z(x0,y0,z0,wx,wy,stl="w",d1=0,d2=0)
1365
+ # @param [Float] x0
1366
+ # @param [Float] y0
1367
+ # @param [Float] z0
1368
+ # @param [Float] wx
1369
+ # @param [Float] wy
1370
+ # @param [String] stl default="w"
1371
+ # @param [Float] d1 default=0
1372
+ # @param [Float] d2 default=0
1373
+ # @return [nil]
1374
+ def face_z
1375
+ end
1376
+
1377
+
1378
+ # Primitives.
1379
+ # Draw the sphere with radius r and center at point p=(x0, y0, z0) and color stl.
1380
+ # @overload sphere(p,r,stl="r")
1381
+ # @param [MglPoint] p
1382
+ # @param [Float] r
1383
+ # @param [String] stl default="r"
1384
+ # @return [nil]
1385
+ def sphere
1386
+ end
1387
+
1388
+
1389
+ # Primitives.
1390
+ # Draw the drop with radius r at point p elongated in direction d and with color col. Parameter shift set the degree of drop oblongness: is sphere, is maximally oblongness drop. Parameter ap set relative width of the drop (this is analogue of ``ellipticity'' for the sphere).
1391
+ # @overload drop(p,d,r,col="r",shift=1,ap=1)
1392
+ # @param [MglPoint] p
1393
+ # @param [MglPoint] d
1394
+ # @param [Float] r
1395
+ # @param [String] col default="r"
1396
+ # @param [Float] shift default=1
1397
+ # @param [Float] ap default=1
1398
+ # @return [nil]
1399
+ def drop
1400
+ end
1401
+
1402
+
1403
+ # Primitives.
1404
+ # Draw tube (or truncated cone if edge=false) between points p1, p2 with radius at the edges r1, r2. If r2<0 then it is supposed that r2=r1. The cone color is defined by string stl. If style contain then edges will be drawn.
1405
+ # @overload cone(p1,p2,r1,r2=-1,stl="B")
1406
+ # @param [MglPoint] p1
1407
+ # @param [MglPoint] p2
1408
+ # @param [Float] r1
1409
+ # @param [Float] r2 default=-1
1410
+ # @param [String] stl default="B"
1411
+ # @return [nil]
1412
+ def cone
1413
+ end
1414
+
1415
+
1416
+ # Primitives.
1417
+ # Draw the circle with radius r and center at point p=(x0, y0, z0). Parameter col may contain
1418
+ # @overload circle(p,r,stl="r")
1419
+ # @param [MglPoint] p
1420
+ # @param [Float] r
1421
+ # @param [String] stl default="r"
1422
+ # @return [nil]
1423
+ def circle
1424
+ end
1425
+
1426
+
1427
+ # Primitives.
1428
+ # Draw the ellipse with radius r and focal points p1, p2. Parameter col may contain
1429
+ # @overload ellipse(p1,p2,r,col="r")
1430
+ # @param [MglPoint] p1
1431
+ # @param [MglPoint] p2
1432
+ # @param [Float] r
1433
+ # @param [String] col default="r"
1434
+ # @return [nil]
1435
+ def ellipse
1436
+ end
1437
+
1438
+
1439
+ # Primitives.
1440
+ # Draw the rhombus with width r and edge points p1, p2. Parameter col may contain
1441
+ # @overload rhomb(p1,p2,r,col="r")
1442
+ # @param [MglPoint] p1
1443
+ # @param [MglPoint] p2
1444
+ # @param [Float] r
1445
+ # @param [String] col default="r"
1446
+ # @return [nil]
1447
+ def rhomb
1448
+ end
1449
+
1450
+
1451
+ # Text printing.
1452
+ # The function plots the string text at position p with fonts specifying by the criteria fnt. The size of font is set by size parameter (default is -1).
1453
+ # @overload puts(p,text,fnt=":C",size=-1)
1454
+ # @param [MglPoint] p
1455
+ # @param [String] text
1456
+ # @param [String] fnt default=":C"
1457
+ # @param [Float] size default=-1
1458
+ # @return [nil]
1459
+ # @overload puts(x,y,text,fnt=":AC",size=-1)
1460
+ # @param [Float] x
1461
+ # @param [Float] y
1462
+ # @param [String] text
1463
+ # @param [String] fnt default=":AC"
1464
+ # @param [Float] size default=-1
1465
+ # @return [nil]
1466
+ def puts
1467
+ end
1468
+
1469
+
1470
+ # Text printing.
1471
+ # The function plots the string text at position p along direction d with specified size. Parameter fnt set text style and text position: above () or under () the line.
1472
+ # @overload puts(p,d,text,fnt=":L",size=-1)
1473
+ # @param [MglPoint] p
1474
+ # @param [MglPoint] d
1475
+ # @param [String] text
1476
+ # @param [String] fnt default=":L"
1477
+ # @param [Float] size default=-1
1478
+ # @return [nil]
1479
+ def puts
1480
+ end
1481
+
1482
+
1483
+ # Text printing.
1484
+ # The function draws text along the curve between points (x[i], y[i], z[i]) by font style fnt. The string fnt may contain symbols for printing the text under the curve (default), or for printing the text above the curve. The sizes of 1st dimension must be equal for all arrays x.nx=y.nx=z.nx. If array x is not specified then its an automatic array is used with values equidistantly distributed in interval [Min.x, Max.x] (see Ranges (bounding box)). If array z is not specified then z[i] = Min.z is used. String opt contain command options (see Command options).
1485
+ # @overload text(y,text,fnt="",opt="")
1486
+ # @param [MglData] y
1487
+ # @param [String] text
1488
+ # @param [String] fnt default=""
1489
+ # @param [String] opt default=""
1490
+ # @return [nil]
1491
+ # @overload text(x,y,text,fnt="",opt="")
1492
+ # @param [MglData] x
1493
+ # @param [MglData] y
1494
+ # @param [String] text
1495
+ # @param [String] fnt default=""
1496
+ # @param [String] opt default=""
1497
+ # @return [nil]
1498
+ # @overload text(x,y,z,text,fnt="",opt="")
1499
+ # @param [MglData] x
1500
+ # @param [MglData] y
1501
+ # @param [MglData] z
1502
+ # @param [String] text
1503
+ # @param [String] fnt default=""
1504
+ # @param [String] opt default=""
1505
+ # @return [nil]
1506
+ def text
1507
+ end
1508
+
1509
+
1510
+ # Axis and Colorbar.
1511
+ # Draws axes with ticks (see Axis settings). Parameter dir may contain:
1512
+ # Styles of ticks and axis can be overrided by using stl string.
1513
+ # @overload axis(dir="xyz",stl="",opt="")
1514
+ # @param [String] dir default="xyz"
1515
+ # @param [String] stl default=""
1516
+ # @param [String] opt default=""
1517
+ # @return [nil]
1518
+ def axis
1519
+ end
1520
+
1521
+
1522
+ # Axis and Colorbar.
1523
+ # Draws colorbar. Parameter sch may contain:
1524
+ # @overload colorbar(sch="")
1525
+ # @param [String] sch default=""
1526
+ # @return [nil]
1527
+ def colorbar
1528
+ end
1529
+
1530
+
1531
+ # Axis and Colorbar.
1532
+ # The same as previous but with sharp colors sch (current palette if sch="") for values v.
1533
+ # @overload colorbar(v,sch="")
1534
+ # @param [MglData] v
1535
+ # @param [String] sch default=""
1536
+ # @return [nil]
1537
+ def colorbar
1538
+ end
1539
+
1540
+
1541
+ # Axis and Colorbar.
1542
+ # The same as first one but at arbitrary position of subplot (x, y) (supposed to be in range [0,1]). Parameters w, h set the relative width and height of the colorbar.
1543
+ # @overload colorbar(sch,x,y,w=1,h=1)
1544
+ # @param [String] sch
1545
+ # @param [Float] x
1546
+ # @param [Float] y
1547
+ # @param [Float] w default=1
1548
+ # @param [Float] h default=1
1549
+ # @return [nil]
1550
+ def colorbar
1551
+ end
1552
+
1553
+
1554
+ # Axis and Colorbar.
1555
+ # The same as previous but with sharp colors sch (current palette if sch="") for values v.
1556
+ # @overload colorbar(v,sch,x,y,w=1,h=1)
1557
+ # @param [MglData] v
1558
+ # @param [String] sch
1559
+ # @param [Float] x
1560
+ # @param [Float] y
1561
+ # @param [Float] w default=1
1562
+ # @param [Float] h default=1
1563
+ # @return [nil]
1564
+ def colorbar
1565
+ end
1566
+
1567
+
1568
+ # Axis and Colorbar.
1569
+ # Draws grid lines perpendicular to direction determined by string parameter dir. The step of grid lines is the same as tick step for axis. The style of lines is determined by pen parameter (default value is dark blue solid line ).
1570
+ # @overload grid(dir="xyz",pen="B",opt="")
1571
+ # @param [String] dir default="xyz"
1572
+ # @param [String] pen default="B"
1573
+ # @param [String] opt default=""
1574
+ # @return [nil]
1575
+ def grid
1576
+ end
1577
+
1578
+
1579
+ # Axis and Colorbar.
1580
+ # Draws bounding box outside the plotting volume with color col. If col contain then filled faces are drawn. At this first color is used for faces (default is light yellow), last one for edges.
1581
+ # @overload box(col="",ticks=true)
1582
+ # @param [String] col default=""
1583
+ # @param [bool] ticks default=true
1584
+ # @return [nil]
1585
+ def box
1586
+ end
1587
+
1588
+
1589
+ # Axis and Colorbar.
1590
+ # Prints the label text for axis dir=,,, (here is ``ternary'' axis ). The position of label is determined by pos parameter. If pos=0 then label is printed at the center of axis. If pos>0 then label is printed at the maximum of axis. If pos<0 then label is printed at the minimum of axis. Value option set additional shifting of the label. .
1591
+ # @overload label(dir,text,pos=1,opt="")
1592
+ # @param [String] dir
1593
+ # @param [String] text
1594
+ # @param [Float] pos default=1
1595
+ # @param [String] opt default=""
1596
+ # @return [nil]
1597
+ def label
1598
+ end
1599
+
1600
+
1601
+ # Legend.
1602
+ # Draws legend of accumulated legend entries by font fnt with size. Parameter pos sets the position of the legend: is bottom left corner, is bottom right corner, is top left corner, is top right corner (is default). Parameter fnt can contain colors for face (1st one), for border (2nd one) and for text (last one). If less than 3 colors are specified then the color for border is black (for 2 and less colors), and the color for face is white (for 1 or none colors). If string fnt contain then border around the legend is drawn. If string fnt contain then legend entries will arranged horizontally.
1603
+ # @overload legend(pos=0x3,fnt="#",opt="")
1604
+ # @param [Integer] pos default=0x3
1605
+ # @param [String] fnt default="#"
1606
+ # @param [String] opt default=""
1607
+ # @return [nil]
1608
+ def legend
1609
+ end
1610
+
1611
+
1612
+ # Legend.
1613
+ # Draws legend of accumulated legend entries by font fnt with size. Position of legend is determined by parameter x, y which supposed to be normalized to interval [0,1].
1614
+ # @overload legend(x,y,fnt="#",opt="")
1615
+ # @param [Float] x
1616
+ # @param [Float] y
1617
+ # @param [String] fnt default="#"
1618
+ # @param [String] opt default=""
1619
+ # @return [nil]
1620
+ def legend
1621
+ end
1622
+
1623
+
1624
+ # Legend.
1625
+ # Adds string text to internal legend accumulator. The style of described line and mark is specified in string style (see Line styles).
1626
+ # @overload add_legend(text,style)
1627
+ # @param [String] text
1628
+ # @param [String] style
1629
+ # @return [nil]
1630
+ def add_legend
1631
+ end
1632
+
1633
+
1634
+ # Legend.
1635
+ # Clears saved legend strings.
1636
+ # @overload clear_legend()
1637
+ # @return [nil]
1638
+ def clear_legend
1639
+ end
1640
+
1641
+
1642
+ # Legend.
1643
+ # Set the number of marks in the legend. By default 1 mark is used.
1644
+ # @overload set_legend_marks(num)
1645
+ # @param [Integer] num
1646
+ # @return [nil]
1647
+ def set_legend_marks
1648
+ end
1649
+
1650
+
1651
+ # 1D plotting.
1652
+ # These functions draw continuous lines between points (x[i], y[i], z[i]). See also area, step, stem, tube, mark, error, belt, tens, tape.
1653
+ # @overload plot(y,pen="",opt="")
1654
+ # @param [MglData] y
1655
+ # @param [String] pen default=""
1656
+ # @param [String] opt default=""
1657
+ # @return [nil]
1658
+ # @overload plot(x,y,pen="",opt="")
1659
+ # @param [MglData] x
1660
+ # @param [MglData] y
1661
+ # @param [String] pen default=""
1662
+ # @param [String] opt default=""
1663
+ # @return [nil]
1664
+ # @overload plot(x,y,z,pen="",opt="")
1665
+ # @param [MglData] x
1666
+ # @param [MglData] y
1667
+ # @param [MglData] z
1668
+ # @param [String] pen default=""
1669
+ # @param [String] opt default=""
1670
+ # @return [nil]
1671
+ def plot
1672
+ end
1673
+
1674
+
1675
+ # 1D plotting.
1676
+ # This functions draws radar chart which is continuous lines between points located on an radial lines (like plot in Polar coordinates). Parameter value in options opt set the additional shift of data (i.e. the data a+value is used instead of a). If value<0 then r=max(0, -min(value). If pen containt symbol then "grid" (radial lines and circle for r) is drawn. See also plot.
1677
+ # @overload radar(a,pen="",opt="")
1678
+ # @param [MglData] a
1679
+ # @param [String] pen default=""
1680
+ # @param [String] opt default=""
1681
+ # @return [nil]
1682
+ def radar
1683
+ end
1684
+
1685
+
1686
+ # 1D plotting.
1687
+ # These functions draw continuous stairs for points to axis plane. See also plot, stem, tile, boxs.
1688
+ # @overload step(y,pen="",opt="")
1689
+ # @param [MglData] y
1690
+ # @param [String] pen default=""
1691
+ # @param [String] opt default=""
1692
+ # @return [nil]
1693
+ # @overload step(x,y,pen="",opt="")
1694
+ # @param [MglData] x
1695
+ # @param [MglData] y
1696
+ # @param [String] pen default=""
1697
+ # @param [String] opt default=""
1698
+ # @return [nil]
1699
+ # @overload step(x,y,z,pen="",opt="")
1700
+ # @param [MglData] x
1701
+ # @param [MglData] y
1702
+ # @param [MglData] z
1703
+ # @param [String] pen default=""
1704
+ # @param [String] opt default=""
1705
+ # @return [nil]
1706
+ def step
1707
+ end
1708
+
1709
+
1710
+ # 1D plotting.
1711
+ # These functions draw continuous lines between points (x[i], y[i], z[i]) with color defined by the special array c[i] (look like tension plot). String pen specifies the color scheme (see Color scheme) and style and/or width of line (see Line styles). See also plot, mesh, fall.
1712
+ # @overload tens(y,c,pen="",opt="")
1713
+ # @param [MglData] y
1714
+ # @param [MglData] c
1715
+ # @param [String] pen default=""
1716
+ # @param [String] opt default=""
1717
+ # @return [nil]
1718
+ # @overload tens(x,y,c,pen="",opt="")
1719
+ # @param [MglData] x
1720
+ # @param [MglData] y
1721
+ # @param [MglData] c
1722
+ # @param [String] pen default=""
1723
+ # @param [String] opt default=""
1724
+ # @return [nil]
1725
+ # @overload tens(x,y,z,c,pen="",opt="")
1726
+ # @param [MglData] x
1727
+ # @param [MglData] y
1728
+ # @param [MglData] z
1729
+ # @param [MglData] c
1730
+ # @param [String] pen default=""
1731
+ # @param [String] opt default=""
1732
+ # @return [nil]
1733
+ def tens
1734
+ end
1735
+
1736
+
1737
+ # 1D plotting.
1738
+ # These functions draw tapes of normals for curve between points (x[i], y[i], z[i]). Initial tape(s) was selected in x-y plane (for in pen) and/or y-z plane (for in pen). The width of tape is proportional to barwidth. See also plot, flow, barwidth.
1739
+ # @overload tape(y,pen="",opt="")
1740
+ # @param [MglData] y
1741
+ # @param [String] pen default=""
1742
+ # @param [String] opt default=""
1743
+ # @return [nil]
1744
+ # @overload tape(x,y,pen="",opt="")
1745
+ # @param [MglData] x
1746
+ # @param [MglData] y
1747
+ # @param [String] pen default=""
1748
+ # @param [String] opt default=""
1749
+ # @return [nil]
1750
+ # @overload tape(x,y,z,pen="",opt="")
1751
+ # @param [MglData] x
1752
+ # @param [MglData] y
1753
+ # @param [MglData] z
1754
+ # @param [String] pen default=""
1755
+ # @param [String] opt default=""
1756
+ # @return [nil]
1757
+ def tape
1758
+ end
1759
+
1760
+
1761
+ # 1D plotting.
1762
+ # These functions draw continuous lines between points and fills it to axis plane. Also you can use gradient filling if number of specified colors is equal to 2*number of curves. See also plot, bars, stem, region.
1763
+ # @overload area(y,pen="",opt="")
1764
+ # @param [MglData] y
1765
+ # @param [String] pen default=""
1766
+ # @param [String] opt default=""
1767
+ # @return [nil]
1768
+ # @overload area(x,y,pen="",opt="")
1769
+ # @param [MglData] x
1770
+ # @param [MglData] y
1771
+ # @param [String] pen default=""
1772
+ # @param [String] opt default=""
1773
+ # @return [nil]
1774
+ # @overload area(x,y,z,pen="",opt="")
1775
+ # @param [MglData] x
1776
+ # @param [MglData] y
1777
+ # @param [MglData] z
1778
+ # @param [String] pen default=""
1779
+ # @param [String] opt default=""
1780
+ # @return [nil]
1781
+ def area
1782
+ end
1783
+
1784
+
1785
+ # 1D plotting.
1786
+ # These functions fill area between 2 curves. Dimensions of arrays y1 and y2 must be equal. Also you can use gradient filling if number of specified colors is equal to 2*number of curves. If pen contain symbol then only area with y1<y<y2 will be filled else the area with y2<y<y1 will be filled too. See also area, bars, stem.
1787
+ # @overload region(y1,y2,pen="",opt="")
1788
+ # @param [MglData] y1
1789
+ # @param [MglData] y2
1790
+ # @param [String] pen default=""
1791
+ # @param [String] opt default=""
1792
+ # @return [nil]
1793
+ # @overload region(x,y1,y2,pen="",opt="")
1794
+ # @param [MglData] x
1795
+ # @param [MglData] y1
1796
+ # @param [MglData] y2
1797
+ # @param [String] pen default=""
1798
+ # @param [String] opt default=""
1799
+ # @return [nil]
1800
+ def region
1801
+ end
1802
+
1803
+
1804
+ # 1D plotting.
1805
+ # These functions draw vertical lines from points to axis plane. See also area, bars, plot, mark.
1806
+ # @overload stem(y,pen="",opt="")
1807
+ # @param [MglData] y
1808
+ # @param [String] pen default=""
1809
+ # @param [String] opt default=""
1810
+ # @return [nil]
1811
+ # @overload stem(x,y,pen="",opt="")
1812
+ # @param [MglData] x
1813
+ # @param [MglData] y
1814
+ # @param [String] pen default=""
1815
+ # @param [String] opt default=""
1816
+ # @return [nil]
1817
+ # @overload stem(x,y,z,pen="",opt="")
1818
+ # @param [MglData] x
1819
+ # @param [MglData] y
1820
+ # @param [MglData] z
1821
+ # @param [String] pen default=""
1822
+ # @param [String] opt default=""
1823
+ # @return [nil]
1824
+ def stem
1825
+ end
1826
+
1827
+
1828
+ # 1D plotting.
1829
+ # These functions draw vertical bars from points to axis plane. If string pen contain symbol then lines are drawn one above another (like summation). If string contain symbol then waterfall chart is drawn for determining the cumulative effect of sequentially introduced positive or negative values. You can give different colors for positive and negative values if number of specified colors is equal to 2*number of curves. See also barh, cones, area, stem, chart, barwidth.
1830
+ # @overload bars(y,pen="",opt="")
1831
+ # @param [MglData] y
1832
+ # @param [String] pen default=""
1833
+ # @param [String] opt default=""
1834
+ # @return [nil]
1835
+ # @overload bars(x,y,pen="",opt="")
1836
+ # @param [MglData] x
1837
+ # @param [MglData] y
1838
+ # @param [String] pen default=""
1839
+ # @param [String] opt default=""
1840
+ # @return [nil]
1841
+ # @overload bars(x,y,z,pen="",opt="")
1842
+ # @param [MglData] x
1843
+ # @param [MglData] y
1844
+ # @param [MglData] z
1845
+ # @param [String] pen default=""
1846
+ # @param [String] opt default=""
1847
+ # @return [nil]
1848
+ def bars
1849
+ end
1850
+
1851
+
1852
+ # 1D plotting.
1853
+ # These functions draw horizontal bars from points to axis plane. If string contain symbol then lines are drawn one above another (like summation). If string contain symbol then waterfall chart is drawn for determining the cumulative effect of sequentially introduced positive or negative values. You can give different colors for positive and negative values if number of specified colors is equal to 2*number of curves. See also bars, barwidth.
1854
+ # @overload barh(v,pen="",opt="")
1855
+ # @param [MglData] v
1856
+ # @param [String] pen default=""
1857
+ # @param [String] opt default=""
1858
+ # @return [nil]
1859
+ # @overload barh(y,v,pen="",opt="")
1860
+ # @param [MglData] y
1861
+ # @param [MglData] v
1862
+ # @param [String] pen default=""
1863
+ # @param [String] opt default=""
1864
+ # @return [nil]
1865
+ def barh
1866
+ end
1867
+
1868
+
1869
+ # 1D plotting.
1870
+ # These functions draw cones from points to axis plane. If string contain symbol then cones are drawn one above another (like summation). You can give different colors for positive and negative values if number of specified colors is equal to 2*number of curves. See also bars, barwidth.
1871
+ # @overload cones(y,pen="",opt="")
1872
+ # @param [MglData] y
1873
+ # @param [String] pen default=""
1874
+ # @param [String] opt default=""
1875
+ # @return [nil]
1876
+ # @overload cones(x,y,pen="",opt="")
1877
+ # @param [MglData] x
1878
+ # @param [MglData] y
1879
+ # @param [String] pen default=""
1880
+ # @param [String] opt default=""
1881
+ # @return [nil]
1882
+ # @overload cones(x,y,z,pen="",opt="")
1883
+ # @param [MglData] x
1884
+ # @param [MglData] y
1885
+ # @param [MglData] z
1886
+ # @param [String] pen default=""
1887
+ # @param [String] opt default=""
1888
+ # @return [nil]
1889
+ def cones
1890
+ end
1891
+
1892
+
1893
+ # 1D plotting.
1894
+ # The function draws colored stripes (boxes) for data in array a. The number of stripes is equal to the number of rows in a (equal to a.ny). The color of each next stripe is cyclically changed from colors specified in string col or in palette Pal (see Palette and colors). Spaces in colors denote transparent ``color'' (i.e. corresponding stripe(s) are not drawn). The stripe width is proportional to value of element in a. Chart is plotted only for data with non-negative elements. If string col have symbol then black border lines are drawn. The most nice form the chart have in 3d (after rotation of coordinates) or in cylindrical coordinates (becomes so called Pie chart).
1895
+ # @overload chart(a,col="",opt="")
1896
+ # @param [MglData] a
1897
+ # @param [String] col default=""
1898
+ # @param [String] opt default=""
1899
+ # @return [nil]
1900
+ def chart
1901
+ end
1902
+
1903
+
1904
+ # 1D plotting.
1905
+ # These functions draw boxplot (also known as a box-and-whisker diagram) at points x[i]. This is five-number summaries of data a[i,j] (minimum, lower quartile (Q1), median (Q2), upper quartile (Q3) and maximum) along second (j-th) direction. See also plot, error, bars, barwidth.
1906
+ # @overload box_plot(a,pen="",opt="")
1907
+ # @param [MglData] a
1908
+ # @param [String] pen default=""
1909
+ # @param [String] opt default=""
1910
+ # @return [nil]
1911
+ # @overload box_plot(x,a,pen="",opt="")
1912
+ # @param [MglData] x
1913
+ # @param [MglData] a
1914
+ # @param [String] pen default=""
1915
+ # @param [String] opt default=""
1916
+ # @return [nil]
1917
+ def box_plot
1918
+ end
1919
+
1920
+
1921
+ # 1D plotting.
1922
+ # These functions draw candlestick chart at points x[i]. This is a combination of a line-chart and a bar-chart, in that each bar represents the range of price movement over a given time interval. Wire (or white) candle correspond to price growth v1[i]<v2[i], opposite case -- solid (or dark) candle. "Shadows" show the minimal y1 and maximal y2 prices. If v2 is absent then it is determined as v2[i]=v1[i+1]. See also plot, bars, barwidth.
1923
+ # @overload candle(v1,pen="",opt="")
1924
+ # @param [MglData] v1
1925
+ # @param [String] pen default=""
1926
+ # @param [String] opt default=""
1927
+ # @return [nil]
1928
+ # @overload candle(v1,v2,pen="",opt="")
1929
+ # @param [MglData] v1
1930
+ # @param [MglData] v2
1931
+ # @param [String] pen default=""
1932
+ # @param [String] opt default=""
1933
+ # @return [nil]
1934
+ # @overload candle(v1,y1,y2,pen="",opt="")
1935
+ # @param [MglData] v1
1936
+ # @param [MglData] y1
1937
+ # @param [MglData] y2
1938
+ # @param [String] pen default=""
1939
+ # @param [String] opt default=""
1940
+ # @return [nil]
1941
+ # @overload candle(v1,v2,y1,y2,pen="",opt="")
1942
+ # @param [MglData] v1
1943
+ # @param [MglData] v2
1944
+ # @param [MglData] y1
1945
+ # @param [MglData] y2
1946
+ # @param [String] pen default=""
1947
+ # @param [String] opt default=""
1948
+ # @return [nil]
1949
+ # @overload candle(x,v1,v2,y1,y2,pen="",opt="")
1950
+ # @param [MglData] x
1951
+ # @param [MglData] v1
1952
+ # @param [MglData] v2
1953
+ # @param [MglData] y1
1954
+ # @param [MglData] y2
1955
+ # @param [String] pen default=""
1956
+ # @param [String] opt default=""
1957
+ # @return [nil]
1958
+ def candle
1959
+ end
1960
+
1961
+
1962
+ # 1D plotting.
1963
+ # These functions draw error boxes (ex[i], ey[i]) at points (x[i], y[i]). This can be useful, for example, in experimental points, or to show numeric error or some estimations and so on. If string pen contain symbol than large semitransparent mark is used instead of error box. See also plot, mark.
1964
+ # @overload error(y,ey,pen="",opt="")
1965
+ # @param [MglData] y
1966
+ # @param [MglData] ey
1967
+ # @param [String] pen default=""
1968
+ # @param [String] opt default=""
1969
+ # @return [nil]
1970
+ # @overload error(x,y,ey,pen="",opt="")
1971
+ # @param [MglData] x
1972
+ # @param [MglData] y
1973
+ # @param [MglData] ey
1974
+ # @param [String] pen default=""
1975
+ # @param [String] opt default=""
1976
+ # @return [nil]
1977
+ # @overload error(x,y,ex,ey,pen="",opt="")
1978
+ # @param [MglData] x
1979
+ # @param [MglData] y
1980
+ # @param [MglData] ex
1981
+ # @param [MglData] ey
1982
+ # @param [String] pen default=""
1983
+ # @param [String] opt default=""
1984
+ # @return [nil]
1985
+ def error
1986
+ end
1987
+
1988
+
1989
+ # 1D plotting.
1990
+ # These functions draw marks with size r[i]*marksize at points (x[i], y[i], z[i]). If you need to draw markers of the same size then you can use plot function with empty line style . For markers with size in axis range use error with style . See also plot, textmark, error, stem.
1991
+ # @overload mark(y,r,pen="",opt="")
1992
+ # @param [MglData] y
1993
+ # @param [MglData] r
1994
+ # @param [String] pen default=""
1995
+ # @param [String] opt default=""
1996
+ # @return [nil]
1997
+ # @overload mark(x,y,r,pen="",opt="")
1998
+ # @param [MglData] x
1999
+ # @param [MglData] y
2000
+ # @param [MglData] r
2001
+ # @param [String] pen default=""
2002
+ # @param [String] opt default=""
2003
+ # @return [nil]
2004
+ # @overload mark(x,y,z,r,pen="",opt="")
2005
+ # @param [MglData] x
2006
+ # @param [MglData] y
2007
+ # @param [MglData] z
2008
+ # @param [MglData] r
2009
+ # @param [String] pen default=""
2010
+ # @param [String] opt default=""
2011
+ # @return [nil]
2012
+ def mark
2013
+ end
2014
+
2015
+
2016
+ # 1D plotting.
2017
+ # These functions draw string txt as marks with size proportional to r[i]*marksize at points (x[i], y[i], z[i]). By default (if omitted) r[i]=1. See also plot, mark, stem.
2018
+ # @overload text_mark(y,txt,fnt="",opt="")
2019
+ # @param [MglData] y
2020
+ # @param [String] txt
2021
+ # @param [String] fnt default=""
2022
+ # @param [String] opt default=""
2023
+ # @return [nil]
2024
+ # @overload text_mark(y,r,txt,fnt="",opt="")
2025
+ # @param [MglData] y
2026
+ # @param [MglData] r
2027
+ # @param [String] txt
2028
+ # @param [String] fnt default=""
2029
+ # @param [String] opt default=""
2030
+ # @return [nil]
2031
+ # @overload text_mark(x,y,r,txt,fnt="",opt="")
2032
+ # @param [MglData] x
2033
+ # @param [MglData] y
2034
+ # @param [MglData] r
2035
+ # @param [String] txt
2036
+ # @param [String] fnt default=""
2037
+ # @param [String] opt default=""
2038
+ # @return [nil]
2039
+ # @overload text_mark(x,y,z,r,txt,fnt="",opt="")
2040
+ # @param [MglData] x
2041
+ # @param [MglData] y
2042
+ # @param [MglData] z
2043
+ # @param [MglData] r
2044
+ # @param [String] txt
2045
+ # @param [String] fnt default=""
2046
+ # @param [String] opt default=""
2047
+ # @return [nil]
2048
+ def text_mark
2049
+ end
2050
+
2051
+
2052
+ # 1D plotting.
2053
+ # These functions draw string txt at points (x[i], y[i], z[i]). If string txt contain , , or then it will be replaced by the value of x-,y-,z-coordinate of the point or its index. See also plot, mark, textmark, table.
2054
+ # @overload label(y,txt,fnt="",opt="")
2055
+ # @param [MglData] y
2056
+ # @param [String] txt
2057
+ # @param [String] fnt default=""
2058
+ # @param [String] opt default=""
2059
+ # @return [nil]
2060
+ # @overload label(x,y,txt,fnt="",opt="")
2061
+ # @param [MglData] x
2062
+ # @param [MglData] y
2063
+ # @param [String] txt
2064
+ # @param [String] fnt default=""
2065
+ # @param [String] opt default=""
2066
+ # @return [nil]
2067
+ # @overload label(x,y,z,txt,fnt="",opt="")
2068
+ # @param [MglData] x
2069
+ # @param [MglData] y
2070
+ # @param [MglData] z
2071
+ # @param [String] txt
2072
+ # @param [String] fnt default=""
2073
+ # @param [String] opt default=""
2074
+ # @return [nil]
2075
+ def label
2076
+ end
2077
+
2078
+
2079
+ # 1D plotting.
2080
+ # These functions draw table with values of val and captions from string txt (separated by newline symbol ) at points (x, y) (default at (0,0)) related to current subplot. If string fnt contain then cell border will be drawn. If string fnt contain then table width is limited by subplot width (equivalent option ). If string fnt contain then widths of all cells are the same. Option value set the width of the table (default is 1). See also plot, label.
2081
+ # @overload table(val,txt,fnt="",opt="")
2082
+ # @param [MglData] val
2083
+ # @param [String] txt
2084
+ # @param [String] fnt default=""
2085
+ # @param [String] opt default=""
2086
+ # @return [nil]
2087
+ # @overload table(x,y,val,txt,fnt="",opt="")
2088
+ # @param [Float] x
2089
+ # @param [Float] y
2090
+ # @param [MglData] val
2091
+ # @param [String] txt
2092
+ # @param [String] fnt default=""
2093
+ # @param [String] opt default=""
2094
+ # @return [nil]
2095
+ def table
2096
+ end
2097
+
2098
+
2099
+ # 1D plotting.
2100
+ # These functions draw the tube with variable radius r[i] along the curve between points (x[i], y[i], z[i]). See also plot.
2101
+ # @overload tube(y,r,pen="",opt="")
2102
+ # @param [MglData] y
2103
+ # @param [MglData] r
2104
+ # @param [String] pen default=""
2105
+ # @param [String] opt default=""
2106
+ # @return [nil]
2107
+ # @overload tube(y,r,pen="",opt="")
2108
+ # @param [MglData] y
2109
+ # @param [Float] r
2110
+ # @param [String] pen default=""
2111
+ # @param [String] opt default=""
2112
+ # @return [nil]
2113
+ # @overload tube(x,y,r,pen="",opt="")
2114
+ # @param [MglData] x
2115
+ # @param [MglData] y
2116
+ # @param [MglData] r
2117
+ # @param [String] pen default=""
2118
+ # @param [String] opt default=""
2119
+ # @return [nil]
2120
+ # @overload tube(x,y,r,pen="",opt="")
2121
+ # @param [MglData] x
2122
+ # @param [MglData] y
2123
+ # @param [Float] r
2124
+ # @param [String] pen default=""
2125
+ # @param [String] opt default=""
2126
+ # @return [nil]
2127
+ # @overload tube(x,y,z,r,pen="",opt="")
2128
+ # @param [MglData] x
2129
+ # @param [MglData] y
2130
+ # @param [MglData] z
2131
+ # @param [MglData] r
2132
+ # @param [String] pen default=""
2133
+ # @param [String] opt default=""
2134
+ # @return [nil]
2135
+ # @overload tube(x,y,z,r,pen="",opt="")
2136
+ # @param [MglData] x
2137
+ # @param [MglData] y
2138
+ # @param [MglData] z
2139
+ # @param [Float] r
2140
+ # @param [String] pen default=""
2141
+ # @param [String] opt default=""
2142
+ # @return [nil]
2143
+ def tube
2144
+ end
2145
+
2146
+
2147
+ # 1D plotting.
2148
+ # These functions draw surface which is result of curve (r, z) rotation around axis. If string pen contain symbols or then rotation axis will be set to specified direction (default is ). If string pen have symbol then wire plot is produced. If string pen have symbol then plot by dots is produced. See also plot, axial.
2149
+ # @overload torus(r,z,pen="",opt="")
2150
+ # @param [MglData] r
2151
+ # @param [MglData] z
2152
+ # @param [String] pen default=""
2153
+ # @param [String] opt default=""
2154
+ # @return [nil]
2155
+ def torus
2156
+ end
2157
+
2158
+
2159
+ # 2D plotting.
2160
+ # The function draws surface specified parametrically (x[i,j], y[i,j], z[i,j]). If string sch have symbol then grid lines are drawn. If string sch have symbol then plot by dots is produced. See also mesh, dens, belt, tile, boxs, surfc, surfa.
2161
+ # @overload surf(z,sch="",opt="")
2162
+ # @param [MglData] z
2163
+ # @param [String] sch default=""
2164
+ # @param [String] opt default=""
2165
+ # @return [nil]
2166
+ # @overload surf(x,y,z,sch="",opt="")
2167
+ # @param [MglData] x
2168
+ # @param [MglData] y
2169
+ # @param [MglData] z
2170
+ # @param [String] sch default=""
2171
+ # @param [String] opt default=""
2172
+ # @return [nil]
2173
+ def surf
2174
+ end
2175
+
2176
+
2177
+ # 2D plotting.
2178
+ # The function draws mesh lines for surface specified parametrically (x[i,j], y[i,j], z[i,j]). See also surf, fall, meshnum, cont, tens.
2179
+ # @overload mesh(z,sch="",opt="")
2180
+ # @param [MglData] z
2181
+ # @param [String] sch default=""
2182
+ # @param [String] opt default=""
2183
+ # @return [nil]
2184
+ # @overload mesh(x,y,z,sch="",opt="")
2185
+ # @param [MglData] x
2186
+ # @param [MglData] y
2187
+ # @param [MglData] z
2188
+ # @param [String] sch default=""
2189
+ # @param [String] opt default=""
2190
+ # @return [nil]
2191
+ def mesh
2192
+ end
2193
+
2194
+
2195
+ # 2D plotting.
2196
+ # The function draws fall lines for surface specified parametrically (x[i,j], y[i,j], z[i,j]). This plot can be used for plotting several curves shifted in depth one from another. If sch contain then lines are drawn along x-direction else (by default) lines are drawn along y-direction. See also belt, mesh, tens, meshnum.
2197
+ # @overload fall(z,sch="",opt="")
2198
+ # @param [MglData] z
2199
+ # @param [String] sch default=""
2200
+ # @param [String] opt default=""
2201
+ # @return [nil]
2202
+ # @overload fall(x,y,z,sch="",opt="")
2203
+ # @param [MglData] x
2204
+ # @param [MglData] y
2205
+ # @param [MglData] z
2206
+ # @param [String] sch default=""
2207
+ # @param [String] opt default=""
2208
+ # @return [nil]
2209
+ def fall
2210
+ end
2211
+
2212
+
2213
+ # 2D plotting.
2214
+ # The function draws belts for surface specified parametrically (x[i,j], y[i,j], z[i,j]). This plot can be used as 3d generalization of plot). If sch contain then belts are drawn along x-direction else (by default) belts are drawn along y-direction. See also fall, surf, plot, meshnum.
2215
+ # @overload belt(z,sch="",opt="")
2216
+ # @param [MglData] z
2217
+ # @param [String] sch default=""
2218
+ # @param [String] opt default=""
2219
+ # @return [nil]
2220
+ # @overload belt(x,y,z,sch="",opt="")
2221
+ # @param [MglData] x
2222
+ # @param [MglData] y
2223
+ # @param [MglData] z
2224
+ # @param [String] sch default=""
2225
+ # @param [String] opt default=""
2226
+ # @return [nil]
2227
+ def belt
2228
+ end
2229
+
2230
+
2231
+ # 2D plotting.
2232
+ # The function draws vertical boxes for surface specified parametrically (x[i,j], y[i,j], z[i,j]). Symbol in sch set to draw filled boxes. See also surf, dens, tile, step.
2233
+ # @overload boxs(z,sch="",opt="")
2234
+ # @param [MglData] z
2235
+ # @param [String] sch default=""
2236
+ # @param [String] opt default=""
2237
+ # @return [nil]
2238
+ # @overload boxs(x,y,z,sch="",opt="")
2239
+ # @param [MglData] x
2240
+ # @param [MglData] y
2241
+ # @param [MglData] z
2242
+ # @param [String] sch default=""
2243
+ # @param [String] opt default=""
2244
+ # @return [nil]
2245
+ def boxs
2246
+ end
2247
+
2248
+
2249
+ # 2D plotting.
2250
+ # The function draws horizontal tiles for surface specified parametrically (x[i,j], y[i,j], z[i,j]). Such plot can be used as 3d generalization of step. See also surf, boxs, step, tiles.
2251
+ # @overload tile(z,sch="",opt="")
2252
+ # @param [MglData] z
2253
+ # @param [String] sch default=""
2254
+ # @param [String] opt default=""
2255
+ # @return [nil]
2256
+ # @overload tile(x,y,z,sch="",opt="")
2257
+ # @param [MglData] x
2258
+ # @param [MglData] y
2259
+ # @param [MglData] z
2260
+ # @param [String] sch default=""
2261
+ # @param [String] opt default=""
2262
+ # @return [nil]
2263
+ def tile
2264
+ end
2265
+
2266
+
2267
+ # 2D plotting.
2268
+ # The function draws density plot for surface specified parametrically (x[i,j], y[i,j], z[i,j]) at z = Min.z. If string sch have symbol then grid lines are drawn. If string sch have symbol then plot by dots is produced. See also surf, cont, contf, boxs, tile, dens[xyz].
2269
+ # @overload dens(z,sch="",opt="",zval=NAN)
2270
+ # @param [MglData] z
2271
+ # @param [String] sch default=""
2272
+ # @param [String] opt default=""
2273
+ # @param [Float] zval default=NAN
2274
+ # @return [nil]
2275
+ # @overload dens(x,y,z,sch="",opt="",zval=NAN)
2276
+ # @param [MglData] x
2277
+ # @param [MglData] y
2278
+ # @param [MglData] z
2279
+ # @param [String] sch default=""
2280
+ # @param [String] opt default=""
2281
+ # @param [Float] zval default=NAN
2282
+ # @return [nil]
2283
+ def dens
2284
+ end
2285
+
2286
+
2287
+ # 2D plotting.
2288
+ # The function draws contour lines for surface specified parametrically (x[i,j], y[i,j], z[i,j]) at z=v[k] or at z = Min.z if sch contain symbol . Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v. If string sch have symbol or then contour labels v[k] will be drawn below (or above) the contours. See also dens, contf, contd, axial, cont[xyz].
2289
+ # @overload cont(v,z,sch="",opt="")
2290
+ # @param [MglData] v
2291
+ # @param [MglData] z
2292
+ # @param [String] sch default=""
2293
+ # @param [String] opt default=""
2294
+ # @return [nil]
2295
+ # @overload cont(v,x,y,z,sch="",opt="")
2296
+ # @param [MglData] v
2297
+ # @param [MglData] x
2298
+ # @param [MglData] y
2299
+ # @param [MglData] z
2300
+ # @param [String] sch default=""
2301
+ # @param [String] opt default=""
2302
+ # @return [nil]
2303
+ def cont
2304
+ end
2305
+
2306
+
2307
+ # 2D plotting.
2308
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 7).
2309
+ # @overload cont(z,sch="",opt="")
2310
+ # @param [MglData] z
2311
+ # @param [String] sch default=""
2312
+ # @param [String] opt default=""
2313
+ # @return [nil]
2314
+ # @overload cont(x,y,z,sch="",opt="")
2315
+ # @param [MglData] x
2316
+ # @param [MglData] y
2317
+ # @param [MglData] z
2318
+ # @param [String] sch default=""
2319
+ # @param [String] opt default=""
2320
+ # @return [nil]
2321
+ def cont
2322
+ end
2323
+
2324
+
2325
+ # 2D plotting.
2326
+ # The function draws solid (or filled) contour lines for surface specified parametrically (x[i,j], y[i,j], z[i,j]) at z=v[k] or at z = Min.z if sch contain symbol . Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v (must be v.nx>2). See also dens, cont, contd, contf[xyz].
2327
+ # @overload cont_f(v,z,sch="",opt="")
2328
+ # @param [MglData] v
2329
+ # @param [MglData] z
2330
+ # @param [String] sch default=""
2331
+ # @param [String] opt default=""
2332
+ # @return [nil]
2333
+ # @overload cont_f(v,x,y,z,sch="",opt="")
2334
+ # @param [MglData] v
2335
+ # @param [MglData] x
2336
+ # @param [MglData] y
2337
+ # @param [MglData] z
2338
+ # @param [String] sch default=""
2339
+ # @param [String] opt default=""
2340
+ # @return [nil]
2341
+ def cont_f
2342
+ end
2343
+
2344
+
2345
+ # 2D plotting.
2346
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 7).
2347
+ # @overload cont_f(z,sch="",opt="")
2348
+ # @param [MglData] z
2349
+ # @param [String] sch default=""
2350
+ # @param [String] opt default=""
2351
+ # @return [nil]
2352
+ # @overload cont_f(x,y,z,sch="",opt="")
2353
+ # @param [MglData] x
2354
+ # @param [MglData] y
2355
+ # @param [MglData] z
2356
+ # @param [String] sch default=""
2357
+ # @param [String] opt default=""
2358
+ # @return [nil]
2359
+ def cont_f
2360
+ end
2361
+
2362
+
2363
+ # 2D plotting.
2364
+ # The function draws solid (or filled) contour lines for surface specified parametrically (x[i,j], y[i,j], z[i,j]) at z=v[k] (or at z = Min.z if sch contain symbol ) with manual colors. Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v (must be v.nx>2). String sch sets the contour colors: the color of k-th contour is determined by character sch[k%strlen(sch)]. See also dens, cont, contf.
2365
+ # @overload cont_d(v,z,sch="",opt="")
2366
+ # @param [MglData] v
2367
+ # @param [MglData] z
2368
+ # @param [String] sch default=""
2369
+ # @param [String] opt default=""
2370
+ # @return [nil]
2371
+ # @overload cont_d(v,x,y,z,sch="",opt="")
2372
+ # @param [MglData] v
2373
+ # @param [MglData] x
2374
+ # @param [MglData] y
2375
+ # @param [MglData] z
2376
+ # @param [String] sch default=""
2377
+ # @param [String] opt default=""
2378
+ # @return [nil]
2379
+ def cont_d
2380
+ end
2381
+
2382
+
2383
+ # 2D plotting.
2384
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 7).
2385
+ # @overload cont_d(z,sch="",opt="")
2386
+ # @param [MglData] z
2387
+ # @param [String] sch default=""
2388
+ # @param [String] opt default=""
2389
+ # @return [nil]
2390
+ # @overload cont_d(x,y,z,sch="",opt="")
2391
+ # @param [MglData] x
2392
+ # @param [MglData] y
2393
+ # @param [MglData] z
2394
+ # @param [String] sch default=""
2395
+ # @param [String] opt default=""
2396
+ # @return [nil]
2397
+ def cont_d
2398
+ end
2399
+
2400
+
2401
+ # 2D plotting.
2402
+ # The function draws vertical cylinder (tube) at contour lines for surface specified parametrically (x[i,j], y[i,j], z[i,j]) at z=v[k] or at z = Min.z if sch contain symbol . Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v. See also cont, contf.
2403
+ # @overload cont_v(v,z,sch="",opt="")
2404
+ # @param [MglData] v
2405
+ # @param [MglData] z
2406
+ # @param [String] sch default=""
2407
+ # @param [String] opt default=""
2408
+ # @return [nil]
2409
+ # @overload cont_v(v,x,y,z,sch="",opt="")
2410
+ # @param [MglData] v
2411
+ # @param [MglData] x
2412
+ # @param [MglData] y
2413
+ # @param [MglData] z
2414
+ # @param [String] sch default=""
2415
+ # @param [String] opt default=""
2416
+ # @return [nil]
2417
+ def cont_v
2418
+ end
2419
+
2420
+
2421
+ # 2D plotting.
2422
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 7).
2423
+ # @overload cont_v(z,sch="",opt="")
2424
+ # @param [MglData] z
2425
+ # @param [String] sch default=""
2426
+ # @param [String] opt default=""
2427
+ # @return [nil]
2428
+ # @overload cont_v(x,y,z,sch="",opt="")
2429
+ # @param [MglData] x
2430
+ # @param [MglData] y
2431
+ # @param [MglData] z
2432
+ # @param [String] sch default=""
2433
+ # @param [String] opt default=""
2434
+ # @return [nil]
2435
+ def cont_v
2436
+ end
2437
+
2438
+
2439
+ # 2D plotting.
2440
+ # The function draws surface which is result of contour plot rotation for surface specified parametrically (x[i,j], y[i,j], z[i,j]). Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v. If string sch have symbol then wire plot is produced. If string sch have symbol then plot by dots is produced. If string contain symbols or then rotation axis will be set to specified direction (default is ). See also cont, contf, torus, surf3.
2441
+ # @overload axial(v,z,sch="",opt="")
2442
+ # @param [MglData] v
2443
+ # @param [MglData] z
2444
+ # @param [String] sch default=""
2445
+ # @param [String] opt default=""
2446
+ # @return [nil]
2447
+ # @overload axial(v,x,y,z,sch="",opt="")
2448
+ # @param [MglData] v
2449
+ # @param [MglData] x
2450
+ # @param [MglData] y
2451
+ # @param [MglData] z
2452
+ # @param [String] sch default=""
2453
+ # @param [String] opt default=""
2454
+ # @return [nil]
2455
+ def axial
2456
+ end
2457
+
2458
+
2459
+ # 2D plotting.
2460
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 3).
2461
+ # @overload axial(z,sch="",opt="",num=3)
2462
+ # @param [MglData] z
2463
+ # @param [String] sch default=""
2464
+ # @param [String] opt default=""
2465
+ # @param [Integer] num default=3
2466
+ # @return [nil]
2467
+ # @overload axial(x,y,z,sch="",opt="",num=3)
2468
+ # @param [MglData] x
2469
+ # @param [MglData] y
2470
+ # @param [MglData] z
2471
+ # @param [String] sch default=""
2472
+ # @param [String] opt default=""
2473
+ # @param [Integer] num default=3
2474
+ # @return [nil]
2475
+ def axial
2476
+ end
2477
+
2478
+
2479
+ # 2D plotting.
2480
+ # The function draws grid lines for density plot of surface specified parametrically (x[i,j], y[i,j], z[i,j]) at z = Min.z. See also dens, cont, contf, meshnum.
2481
+ # @overload grid(z,sch="",opt="")
2482
+ # @param [MglData] z
2483
+ # @param [String] sch default=""
2484
+ # @param [String] opt default=""
2485
+ # @return [nil]
2486
+ # @overload grid(x,y,z,sch="",opt="")
2487
+ # @param [MglData] x
2488
+ # @param [MglData] y
2489
+ # @param [MglData] z
2490
+ # @param [String] sch default=""
2491
+ # @param [String] opt default=""
2492
+ # @return [nil]
2493
+ def grid
2494
+ end
2495
+
2496
+
2497
+ # 3D plotting.
2498
+ # The function draws isosurface plot for 3d array specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]) at a(x,y,z)=val. If string contain then wire plot is produced. If string sch have symbol then plot by dots is produced. Note, that there is possibility of incorrect plotting due to uncertainty of cross-section defining if there are two or more isosurface intersections inside one cell. See also cloud, dens3, surf3c, surf3a, axial.
2499
+ # @overload surf3(val,a,sch="",opt="")
2500
+ # @param [Float] val
2501
+ # @param [MglData] a
2502
+ # @param [String] sch default=""
2503
+ # @param [String] opt default=""
2504
+ # @return [nil]
2505
+ # @overload surf3(val,x,y,z,a,sch="",opt="")
2506
+ # @param [Float] val
2507
+ # @param [MglData] x
2508
+ # @param [MglData] y
2509
+ # @param [MglData] z
2510
+ # @param [MglData] a
2511
+ # @param [String] sch default=""
2512
+ # @param [String] opt default=""
2513
+ # @return [nil]
2514
+ def surf3
2515
+ end
2516
+
2517
+
2518
+ # 3D plotting.
2519
+ # Draws num-th uniformly distributed in color range isosurfaces for 3d data. Here num is equal to parameter value in options opt (default is 3).
2520
+ # @overload surf3(a,sch="",opt="")
2521
+ # @param [MglData] a
2522
+ # @param [String] sch default=""
2523
+ # @param [String] opt default=""
2524
+ # @return [nil]
2525
+ # @overload surf3(x,y,z,a,sch="",opt="")
2526
+ # @param [MglData] x
2527
+ # @param [MglData] y
2528
+ # @param [MglData] z
2529
+ # @param [MglData] a
2530
+ # @param [String] sch default=""
2531
+ # @param [String] opt default=""
2532
+ # @return [nil]
2533
+ def surf3
2534
+ end
2535
+
2536
+
2537
+ # 3D plotting.
2538
+ # The function draws cloud plot for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). This plot is a set of cubes with color and transparency proportional to value of a. The resulting plot is like cloud -- low value is transparent but higher ones are not. The number of plotting cells depend on meshnum. If string sch contain symbol then lower quality plot will produced with much low memory usage. If string sch contain symbol then transparency will be inversed, i.e. higher become transparent and lower become not transparent. See also surf3, meshnum.
2539
+ # @overload cloud(a,sch="",opt="")
2540
+ # @param [MglData] a
2541
+ # @param [String] sch default=""
2542
+ # @param [String] opt default=""
2543
+ # @return [nil]
2544
+ # @overload cloud(x,y,z,a,sch="",opt="")
2545
+ # @param [MglData] x
2546
+ # @param [MglData] y
2547
+ # @param [MglData] z
2548
+ # @param [MglData] a
2549
+ # @param [String] sch default=""
2550
+ # @param [String] opt default=""
2551
+ # @return [nil]
2552
+ def cloud
2553
+ end
2554
+
2555
+
2556
+ # 3D plotting.
2557
+ # The function draws density plot for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). Density is plotted at slice sVal in direction (, , ) if sch contain corresponding symbol (by default, direction is used). If string stl have symbol then grid lines are drawn. See also cont3, contf3, dens, grid3.
2558
+ # @overload dens3(a,sch="",sval=-1,opt="")
2559
+ # @param [MglData] a
2560
+ # @param [String] sch default=""
2561
+ # @param [Float] sval default=-1
2562
+ # @param [String] opt default=""
2563
+ # @return [nil]
2564
+ # @overload dens3(x,y,z,a,sch="",sval=-1,opt="")
2565
+ # @param [MglData] x
2566
+ # @param [MglData] y
2567
+ # @param [MglData] z
2568
+ # @param [MglData] a
2569
+ # @param [String] sch default=""
2570
+ # @param [Float] sval default=-1
2571
+ # @param [String] opt default=""
2572
+ # @return [nil]
2573
+ def dens3
2574
+ end
2575
+
2576
+
2577
+ # 3D plotting.
2578
+ # The function draws contour plot for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). Contours are plotted for values specified in array v at slice sVal in direction (, , ) if sch contain corresponding symbol (by default, direction is used). If string sch have symbol then grid lines are drawn. If string sch have symbol or then contour labels will be drawn below (or above) the contours. See also dens3, contf3, cont, grid3.
2579
+ # @overload cont3(v,a,sch="",sval=-1,opt="")
2580
+ # @param [MglData] v
2581
+ # @param [MglData] a
2582
+ # @param [String] sch default=""
2583
+ # @param [Float] sval default=-1
2584
+ # @param [String] opt default=""
2585
+ # @return [nil]
2586
+ # @overload cont3(v,x,y,z,a,sch="",sval=-1,opt="")
2587
+ # @param [MglData] v
2588
+ # @param [MglData] x
2589
+ # @param [MglData] y
2590
+ # @param [MglData] z
2591
+ # @param [MglData] a
2592
+ # @param [String] sch default=""
2593
+ # @param [Float] sval default=-1
2594
+ # @param [String] opt default=""
2595
+ # @return [nil]
2596
+ def cont3
2597
+ end
2598
+
2599
+
2600
+ # 3D plotting.
2601
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 7).
2602
+ # @overload cont3(a,sch="",sval=-1,opt="",opt="")
2603
+ # @param [MglData] a
2604
+ # @param [String] sch default=""
2605
+ # @param [Float] sval default=-1
2606
+ # @param [String] opt default=""
2607
+ # @param [String] opt default=""
2608
+ # @return [nil]
2609
+ # @overload cont3(x,y,z,a,sch="",sval=-1,opt="")
2610
+ # @param [MglData] x
2611
+ # @param [MglData] y
2612
+ # @param [MglData] z
2613
+ # @param [MglData] a
2614
+ # @param [String] sch default=""
2615
+ # @param [Float] sval default=-1
2616
+ # @param [String] opt default=""
2617
+ # @return [nil]
2618
+ def cont3
2619
+ end
2620
+
2621
+
2622
+ # 3D plotting.
2623
+ # The function draws solid (or filled) contour plot for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). Contours are plotted for values specified in array v at slice sVal in direction (, , ) if sch contain corresponding symbol (by default, direction is used). If string sch have symbol then grid lines are drawn. See also dens3, cont3, contf, grid3.
2624
+ # @overload contf3(v,a,sch="",sval=-1,opt="")
2625
+ # @param [MglData] v
2626
+ # @param [MglData] a
2627
+ # @param [String] sch default=""
2628
+ # @param [Float] sval default=-1
2629
+ # @param [String] opt default=""
2630
+ # @return [nil]
2631
+ # @overload contf3(v,x,y,z,a,sch="",sval=-1,opt="")
2632
+ # @param [MglData] v
2633
+ # @param [MglData] x
2634
+ # @param [MglData] y
2635
+ # @param [MglData] z
2636
+ # @param [MglData] a
2637
+ # @param [String] sch default=""
2638
+ # @param [Float] sval default=-1
2639
+ # @param [String] opt default=""
2640
+ # @return [nil]
2641
+ def contf3
2642
+ end
2643
+
2644
+
2645
+ # 3D plotting.
2646
+ # The same as previous with vector v of num-th elements equidistantly distributed in color range. Here num is equal to parameter value in options opt (default is 7).
2647
+ # @overload contf3(a,sch="",sval=-1,opt="",opt="")
2648
+ # @param [MglData] a
2649
+ # @param [String] sch default=""
2650
+ # @param [Float] sval default=-1
2651
+ # @param [String] opt default=""
2652
+ # @param [String] opt default=""
2653
+ # @return [nil]
2654
+ # @overload contf3(x,y,z,a,sch="",sval=-1,opt="")
2655
+ # @param [MglData] x
2656
+ # @param [MglData] y
2657
+ # @param [MglData] z
2658
+ # @param [MglData] a
2659
+ # @param [String] sch default=""
2660
+ # @param [Float] sval default=-1
2661
+ # @param [String] opt default=""
2662
+ # @return [nil]
2663
+ def contf3
2664
+ end
2665
+
2666
+
2667
+ # 3D plotting.
2668
+ # The function draws grid for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). Grid is plotted at slice sVal in direction (, , ) if sch contain corresponding symbol (by default, direction is used). See also cont3, contf3, dens3, grid2, meshnum.
2669
+ # @overload grid3(a,sch="",sval=-1,opt="")
2670
+ # @param [MglData] a
2671
+ # @param [String] sch default=""
2672
+ # @param [Float] sval default=-1
2673
+ # @param [String] opt default=""
2674
+ # @return [nil]
2675
+ # @overload grid3(x,y,z,a,sch="",sval=-1,opt="")
2676
+ # @param [MglData] x
2677
+ # @param [MglData] y
2678
+ # @param [MglData] z
2679
+ # @param [MglData] a
2680
+ # @param [String] sch default=""
2681
+ # @param [Float] sval default=-1
2682
+ # @param [String] opt default=""
2683
+ # @return [nil]
2684
+ def grid3
2685
+ end
2686
+
2687
+
2688
+ # 3D plotting.
2689
+ # Draws the isosurface for 3d array a at constant values of a=val. This is special kind of plot for a specified in accompanied coordinates along curve tr with orts g1, g2 and with transverse scale r. Variable flag is bitwise: - draw in accompanied (not laboratory) coordinates; - draw projection to plane; - draw normalized in each slice field. The x-size of data arrays tr, g1, g2 must be nx>2. The y-size of data arrays tr, g1, g2 and z-size of the data array a must be equal. See also surf3.
2690
+ # @overload beam(tr,g1,g2,a,r,stl="",flag=0,num=3)
2691
+ # @param [MglData] tr
2692
+ # @param [MglData] g1
2693
+ # @param [MglData] g2
2694
+ # @param [MglData] a
2695
+ # @param [Float] r
2696
+ # @param [String] stl default=""
2697
+ # @param [Integer] flag default=0
2698
+ # @param [Integer] num default=3
2699
+ # @return [nil]
2700
+ # @overload beam(val,tr,g1,g2,a,r,stl="",flag=0)
2701
+ # @param [Float] val
2702
+ # @param [MglData] tr
2703
+ # @param [MglData] g1
2704
+ # @param [MglData] g2
2705
+ # @param [MglData] a
2706
+ # @param [Float] r
2707
+ # @param [String] stl default=""
2708
+ # @param [Integer] flag default=0
2709
+ # @return [nil]
2710
+ def beam
2711
+ end
2712
+
2713
+
2714
+ # Dual plotting.
2715
+ # The function draws surface specified parametrically (x[i,j], y[i,j], z[i,j]) and color it by matrix c[i,j]. If string sch have symbol then grid lines are drawn. If string sch have symbol then plot by dots is produced. All dimensions of arrays z and c must be equal. Surface is plotted for each z slice of the data. See also surf, surfa, surf3c.
2716
+ # @overload surf_c(z,c,sch="",opt="")
2717
+ # @param [MglData] z
2718
+ # @param [MglData] c
2719
+ # @param [String] sch default=""
2720
+ # @param [String] opt default=""
2721
+ # @return [nil]
2722
+ # @overload surf_c(x,y,z,c,sch="",opt="")
2723
+ # @param [MglData] x
2724
+ # @param [MglData] y
2725
+ # @param [MglData] z
2726
+ # @param [MglData] c
2727
+ # @param [String] sch default=""
2728
+ # @param [String] opt default=""
2729
+ # @return [nil]
2730
+ def surf_c
2731
+ end
2732
+
2733
+
2734
+ # Dual plotting.
2735
+ # The function draws isosurface plot for 3d array specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]) at a(x,y,z)=val. It is mostly the same as surf3 function but the color of isosurface depends on values of array c. If string sch contain then wire plot is produced. If string sch have symbol then plot by dots is produced. See also surf3, surfc, surf3a.
2736
+ # @overload surf_3c(val,a,c,sch="",opt="")
2737
+ # @param [Float] val
2738
+ # @param [MglData] a
2739
+ # @param [MglData] c
2740
+ # @param [String] sch default=""
2741
+ # @param [String] opt default=""
2742
+ # @return [nil]
2743
+ # @overload surf_3c(val,x,y,z,a,c,sch="",opt="")
2744
+ # @param [Float] val
2745
+ # @param [MglData] x
2746
+ # @param [MglData] y
2747
+ # @param [MglData] z
2748
+ # @param [MglData] a
2749
+ # @param [MglData] c
2750
+ # @param [String] sch default=""
2751
+ # @param [String] opt default=""
2752
+ # @return [nil]
2753
+ def surf_3c
2754
+ end
2755
+
2756
+
2757
+ # Dual plotting.
2758
+ # Draws num-th uniformly distributed in color range isosurfaces for 3d data. Here num is equal to parameter value in options opt (default is 3).
2759
+ # @overload surf_3c(a,c,sch="",opt="")
2760
+ # @param [MglData] a
2761
+ # @param [MglData] c
2762
+ # @param [String] sch default=""
2763
+ # @param [String] opt default=""
2764
+ # @return [nil]
2765
+ # @overload surf_3c(x,y,z,a,c,sch="",opt="")
2766
+ # @param [MglData] x
2767
+ # @param [MglData] y
2768
+ # @param [MglData] z
2769
+ # @param [MglData] a
2770
+ # @param [MglData] c
2771
+ # @param [String] sch default=""
2772
+ # @param [String] opt default=""
2773
+ # @return [nil]
2774
+ def surf_3c
2775
+ end
2776
+
2777
+
2778
+ # Dual plotting.
2779
+ # The function draws surface specified parametrically (x[i,j], y[i,j], z[i,j]) and transparent it by matrix c[i,j]. If string sch have symbol then grid lines are drawn. If string sch have symbol then plot by dots is produced. All dimensions of arrays z and c must be equal. Surface is plotted for each z slice of the data. See also surf, surfc, surf3a.
2780
+ # @overload surf_a(z,c,sch="",opt="")
2781
+ # @param [MglData] z
2782
+ # @param [MglData] c
2783
+ # @param [String] sch default=""
2784
+ # @param [String] opt default=""
2785
+ # @return [nil]
2786
+ # @overload surf_a(x,y,z,c,sch="",opt="")
2787
+ # @param [MglData] x
2788
+ # @param [MglData] y
2789
+ # @param [MglData] z
2790
+ # @param [MglData] c
2791
+ # @param [String] sch default=""
2792
+ # @param [String] opt default=""
2793
+ # @return [nil]
2794
+ def surf_a
2795
+ end
2796
+
2797
+
2798
+ # Dual plotting.
2799
+ # The function draws isosurface plot for 3d array specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]) at a(x,y,z)=val. It is mostly the same as surf3 function but the color of isosurface depends on values of array c. If string sch contain then wire plot is produced. If string sch have symbol then plot by dots is produced. See also surf3, surfc, surf3a.
2800
+ # @overload surf_3a(val,a,c,sch="",opt="")
2801
+ # @param [Float] val
2802
+ # @param [MglData] a
2803
+ # @param [MglData] c
2804
+ # @param [String] sch default=""
2805
+ # @param [String] opt default=""
2806
+ # @return [nil]
2807
+ # @overload surf_3a(val,x,y,z,a,c,sch="",opt="")
2808
+ # @param [Float] val
2809
+ # @param [MglData] x
2810
+ # @param [MglData] y
2811
+ # @param [MglData] z
2812
+ # @param [MglData] a
2813
+ # @param [MglData] c
2814
+ # @param [String] sch default=""
2815
+ # @param [String] opt default=""
2816
+ # @return [nil]
2817
+ def surf_3a
2818
+ end
2819
+
2820
+
2821
+ # Dual plotting.
2822
+ # Draws num-th uniformly distributed in color range isosurfaces for 3d data. At this array c can be vector with values of transparency and num=c.nx. In opposite case num is equal to parameter value in options opt (default is 3).
2823
+ # @overload surf_3a(a,c,sch="",opt="")
2824
+ # @param [MglData] a
2825
+ # @param [MglData] c
2826
+ # @param [String] sch default=""
2827
+ # @param [String] opt default=""
2828
+ # @return [nil]
2829
+ # @overload surf_3a(x,y,z,a,c,sch="",opt="")
2830
+ # @param [MglData] x
2831
+ # @param [MglData] y
2832
+ # @param [MglData] z
2833
+ # @param [MglData] a
2834
+ # @param [MglData] c
2835
+ # @param [String] sch default=""
2836
+ # @param [String] opt default=""
2837
+ # @return [nil]
2838
+ def surf_3a
2839
+ end
2840
+
2841
+
2842
+ # Dual plotting.
2843
+ # The function draws horizontal tiles for surface specified parametrically (x[i,j], y[i,j], z[i,j]). It is mostly the same as tile but the size of tiles is determined by r array. This is some kind of ``transparency'' useful for exporting to EPS files. Tiles is plotted for each z slice of the data. See also surfa, tile.
2844
+ # @overload tile_s(z,c,sch="",opt="")
2845
+ # @param [MglData] z
2846
+ # @param [MglData] c
2847
+ # @param [String] sch default=""
2848
+ # @param [String] opt default=""
2849
+ # @return [nil]
2850
+ # @overload tile_s(x,y,z,r,sch="",opt="")
2851
+ # @param [MglData] x
2852
+ # @param [MglData] y
2853
+ # @param [MglData] z
2854
+ # @param [MglData] r
2855
+ # @param [String] sch default=""
2856
+ # @param [String] opt default=""
2857
+ # @return [nil]
2858
+ def tile_s
2859
+ end
2860
+
2861
+
2862
+ # Dual plotting.
2863
+ # The function draws mapping plot for matrices (ax, ay ) which parametrically depend on coordinates x, y. The initial position of the cell (point) is marked by color. Height is proportional to Jacobian(ax,ay). This plot is like Arnold diagram ??? If string sch contain symbol then the color ball at matrix knots are drawn otherwise face is drawn.
2864
+ # @overload map(ax,ay,sch="",opt="")
2865
+ # @param [MglData] ax
2866
+ # @param [MglData] ay
2867
+ # @param [String] sch default=""
2868
+ # @param [String] opt default=""
2869
+ # @return [nil]
2870
+ # @overload map(x,y,ax,ay,sch="",opt="")
2871
+ # @param [MglData] x
2872
+ # @param [MglData] y
2873
+ # @param [MglData] ax
2874
+ # @param [MglData] ay
2875
+ # @param [String] sch default=""
2876
+ # @param [String] opt default=""
2877
+ # @return [nil]
2878
+ def map
2879
+ end
2880
+
2881
+
2882
+ # Dual plotting.
2883
+ # Draws spectrogram of complex array re+i*im for Fourier size of dn points at plane z=Min.z. For example in 1D case, result is density plot of data with size (int(nx/dn), dn, ny). At this array re, im parametrically depend on coordinates x, y. The size of re and im must be the same. The minor dimensions of arrays x, y, re should be equal. Arrays x, y can be vectors (not matrix as re).
2884
+ # @overload stfa(re,im,dn,sch="",opt="")
2885
+ # @param [MglData] re
2886
+ # @param [MglData] im
2887
+ # @param [Integer] dn
2888
+ # @param [String] sch default=""
2889
+ # @param [String] opt default=""
2890
+ # @return [nil]
2891
+ # @overload stfa(x,y,re,im,dn,sch="",opt="")
2892
+ # @param [MglData] x
2893
+ # @param [MglData] y
2894
+ # @param [MglData] re
2895
+ # @param [MglData] im
2896
+ # @param [Integer] dn
2897
+ # @param [String] sch default=""
2898
+ # @param [String] opt default=""
2899
+ # @return [nil]
2900
+ def stfa
2901
+ end
2902
+
2903
+
2904
+ # Vector fields.
2905
+ # The function draws vectors (ax, ay, az) along a curve (x, y, z). The length of arrows are proportional to }. String pen specifies the color (see Line styles). By default (pen="") color from palette is used (see Palette and colors). Option value set the vector length factor (if non-zero) or vector length to be proportional the distance between curve points (if value=0). The minor sizes of all arrays must be equal and large 2. The plots are drawn for each row if one of the data is the matrix. See also vect.
2906
+ # @overload traj(x,y,ax,ay,sch="",opt="")
2907
+ # @param [MglData] x
2908
+ # @param [MglData] y
2909
+ # @param [MglData] ax
2910
+ # @param [MglData] ay
2911
+ # @param [String] sch default=""
2912
+ # @param [String] opt default=""
2913
+ # @return [nil]
2914
+ # @overload traj(x,y,z,ax,ay,az,sch="",opt="")
2915
+ # @param [MglData] x
2916
+ # @param [MglData] y
2917
+ # @param [MglData] z
2918
+ # @param [MglData] ax
2919
+ # @param [MglData] ay
2920
+ # @param [MglData] az
2921
+ # @param [String] sch default=""
2922
+ # @param [String] opt default=""
2923
+ # @return [nil]
2924
+ def traj
2925
+ end
2926
+
2927
+
2928
+ # Vector fields.
2929
+ # The function draws plane vector field plot for the field (ax, ay) depending parametrically on coordinates x, y at level z=Min.z. The length and color of arrows are proportional to }. The number of arrows depend on meshnum. The appearance of the hachures (arrows) can be changed by symbols:
2930
+ # See also flow, dew.
2931
+ # @overload vect(ax,ay,sch="",opt="")
2932
+ # @param [MglData] ax
2933
+ # @param [MglData] ay
2934
+ # @param [String] sch default=""
2935
+ # @param [String] opt default=""
2936
+ # @return [nil]
2937
+ # @overload vect(x,y,ax,ay,sch="",opt="")
2938
+ # @param [MglData] x
2939
+ # @param [MglData] y
2940
+ # @param [MglData] ax
2941
+ # @param [MglData] ay
2942
+ # @param [String] sch default=""
2943
+ # @param [String] opt default=""
2944
+ # @return [nil]
2945
+ def vect
2946
+ end
2947
+
2948
+
2949
+ # Vector fields.
2950
+ # This is 3D version of the first functions. Here arrays ax, ay, az must be 3-ranged tensors with equal sizes and the length and color of arrows is proportional to }.
2951
+ # @overload vect(ax,ay,az,sch="",opt="")
2952
+ # @param [MglData] ax
2953
+ # @param [MglData] ay
2954
+ # @param [MglData] az
2955
+ # @param [String] sch default=""
2956
+ # @param [String] opt default=""
2957
+ # @return [nil]
2958
+ # @overload vect(x,y,z,ax,ay,az,sch="",opt="")
2959
+ # @param [MglData] x
2960
+ # @param [MglData] y
2961
+ # @param [MglData] z
2962
+ # @param [MglData] ax
2963
+ # @param [MglData] ay
2964
+ # @param [MglData] az
2965
+ # @param [String] sch default=""
2966
+ # @param [String] opt default=""
2967
+ # @return [nil]
2968
+ def vect
2969
+ end
2970
+
2971
+
2972
+ # Vector fields.
2973
+ # The function draws 3D vector field plot for the field (ax, ay, az) depending parametrically on coordinates x, y, z. Vector field is drawn at slice sVal in direction (, , ) if sch contain corresponding symbol (by default, direction is used). The length and color of arrows are proportional to }. The number of arrows depend on meshnum. The appearance of the hachures (arrows) can be changed by symbols:
2974
+ # See also vect, flow, dew.
2975
+ # @overload vect3(ax,ay,az,sch="",sval=-1,opt="")
2976
+ # @param [MglData] ax
2977
+ # @param [MglData] ay
2978
+ # @param [MglData] az
2979
+ # @param [String] sch default=""
2980
+ # @param [Float] sval default=-1
2981
+ # @param [String] opt default=""
2982
+ # @return [nil]
2983
+ # @overload vect3(x,y,z,ax,ay,az,sch="",sval=-1,opt="")
2984
+ # @param [MglData] x
2985
+ # @param [MglData] y
2986
+ # @param [MglData] z
2987
+ # @param [MglData] ax
2988
+ # @param [MglData] ay
2989
+ # @param [MglData] az
2990
+ # @param [String] sch default=""
2991
+ # @param [Float] sval default=-1
2992
+ # @param [String] opt default=""
2993
+ # @return [nil]
2994
+ def vect3
2995
+ end
2996
+
2997
+
2998
+ # Vector fields.
2999
+ # The function draws dew-drops for plane vector field (ax, ay) depending parametrically on coordinates x, y at level z=Min.z. Note that this is very expensive plot in memory usage and creation time! The color of drops is proportional to }. The number of drops depend on meshnum. See also vect.
3000
+ # @overload dew(ax,ay,sch="",opt="")
3001
+ # @param [MglData] ax
3002
+ # @param [MglData] ay
3003
+ # @param [String] sch default=""
3004
+ # @param [String] opt default=""
3005
+ # @return [nil]
3006
+ # @overload dew(x,y,ax,ay,sch="",opt="")
3007
+ # @param [MglData] x
3008
+ # @param [MglData] y
3009
+ # @param [MglData] ax
3010
+ # @param [MglData] ay
3011
+ # @param [String] sch default=""
3012
+ # @param [String] opt default=""
3013
+ # @return [nil]
3014
+ def dew
3015
+ end
3016
+
3017
+
3018
+ # Vector fields.
3019
+ # The function draws flow threads for the plane vector field (ax, ay) parametrically depending on coordinates x, y at level z = Min.z. Number of threads is proportional to value option (default is 5). String sch may contain:
3020
+ # See also pipe, vect, tape, barwidth.
3021
+ # @overload flow(ax,ay,sch="",opt="")
3022
+ # @param [MglData] ax
3023
+ # @param [MglData] ay
3024
+ # @param [String] sch default=""
3025
+ # @param [String] opt default=""
3026
+ # @return [nil]
3027
+ # @overload flow(x,y,ax,ay,sch="",opt="")
3028
+ # @param [MglData] x
3029
+ # @param [MglData] y
3030
+ # @param [MglData] ax
3031
+ # @param [MglData] ay
3032
+ # @param [String] sch default=""
3033
+ # @param [String] opt default=""
3034
+ # @return [nil]
3035
+ def flow
3036
+ end
3037
+
3038
+
3039
+ # Vector fields.
3040
+ # This is 3D version of the first functions. Here arrays ax, ay, az must be 3-ranged tensors with equal sizes and the color of line is proportional to }.
3041
+ # @overload flow(ax,ay,az,sch="",opt="")
3042
+ # @param [MglData] ax
3043
+ # @param [MglData] ay
3044
+ # @param [MglData] az
3045
+ # @param [String] sch default=""
3046
+ # @param [String] opt default=""
3047
+ # @return [nil]
3048
+ # @overload flow(x,y,z,ax,ay,az,sch="",opt="")
3049
+ # @param [MglData] x
3050
+ # @param [MglData] y
3051
+ # @param [MglData] z
3052
+ # @param [MglData] ax
3053
+ # @param [MglData] ay
3054
+ # @param [MglData] az
3055
+ # @param [String] sch default=""
3056
+ # @param [String] opt default=""
3057
+ # @return [nil]
3058
+ def flow
3059
+ end
3060
+
3061
+
3062
+ # Vector fields.
3063
+ # The same as first one (flow) but draws single flow thread starting from point p0=(x0,y0,z0).
3064
+ # @overload flow_p(p0,ax,ay,sch="",opt="")
3065
+ # @param [MglPoint] p0
3066
+ # @param [MglData] ax
3067
+ # @param [MglData] ay
3068
+ # @param [String] sch default=""
3069
+ # @param [String] opt default=""
3070
+ # @return [nil]
3071
+ # @overload flow_p(p0,x,y,ax,ay,sch="",opt="")
3072
+ # @param [MglPoint] p0
3073
+ # @param [MglData] x
3074
+ # @param [MglData] y
3075
+ # @param [MglData] ax
3076
+ # @param [MglData] ay
3077
+ # @param [String] sch default=""
3078
+ # @param [String] opt default=""
3079
+ # @return [nil]
3080
+ def flow_p
3081
+ end
3082
+
3083
+
3084
+ # Vector fields.
3085
+ # This is 3D version of the previous functions.
3086
+ # @overload flow_p(p0,ax,ay,az,sch="",opt="")
3087
+ # @param [MglPoint] p0
3088
+ # @param [MglData] ax
3089
+ # @param [MglData] ay
3090
+ # @param [MglData] az
3091
+ # @param [String] sch default=""
3092
+ # @param [String] opt default=""
3093
+ # @return [nil]
3094
+ # @overload flow_p(p0,x,y,z,ax,ay,az,sch="",opt="")
3095
+ # @param [MglPoint] p0
3096
+ # @param [MglData] x
3097
+ # @param [MglData] y
3098
+ # @param [MglData] z
3099
+ # @param [MglData] ax
3100
+ # @param [MglData] ay
3101
+ # @param [MglData] az
3102
+ # @param [String] sch default=""
3103
+ # @param [String] opt default=""
3104
+ # @return [nil]
3105
+ def flow_p
3106
+ end
3107
+
3108
+
3109
+ # Vector fields.
3110
+ # The function draws gradient lines for scalar field phi[i,j] (or phi[i,j,k] in 3d case) specified parametrically (x[i,j,k], y[i,j,k], z[i,j,k]). Number of lines is proportional to value option (default is 5). See also dens, cont, flow.
3111
+ # @overload grad(phi,sch="",opt="")
3112
+ # @param [MglData] phi
3113
+ # @param [String] sch default=""
3114
+ # @param [String] opt default=""
3115
+ # @return [nil]
3116
+ # @overload grad(x,y,phi,sch="",opt="")
3117
+ # @param [MglData] x
3118
+ # @param [MglData] y
3119
+ # @param [MglData] phi
3120
+ # @param [String] sch default=""
3121
+ # @param [String] opt default=""
3122
+ # @return [nil]
3123
+ # @overload grad(x,y,z,phi,sch="",opt="")
3124
+ # @param [MglData] x
3125
+ # @param [MglData] y
3126
+ # @param [MglData] z
3127
+ # @param [MglData] phi
3128
+ # @param [String] sch default=""
3129
+ # @param [String] opt default=""
3130
+ # @return [nil]
3131
+ def grad
3132
+ end
3133
+
3134
+
3135
+ # Vector fields.
3136
+ # The function draws flow pipes for the plane vector field (ax, ay) parametrically depending on coordinates x, y at level z = Min.z. Number of pipes is proportional to value option (default is 5). If symbol is specified then pipes start only from edges of axis range. The color of lines is proportional to }. Warm color corresponds to normal flow (like attractor). Cold one corresponds to inverse flow (like source). Parameter r0 set the base pipe radius. If r0<0 or symbol is specified then pipe radius is inverse proportional to amplitude. The vector field is plotted for each z slice of ax, ay. See also flow, vect.
3137
+ # @overload pipe(ax,ay,sch="",r0=0.05,opt="")
3138
+ # @param [MglData] ax
3139
+ # @param [MglData] ay
3140
+ # @param [String] sch default=""
3141
+ # @param [Float] r0 default=0.05
3142
+ # @param [String] opt default=""
3143
+ # @return [nil]
3144
+ # @overload pipe(x,y,ax,ay,sch="",r0=0.05,opt="")
3145
+ # @param [MglData] x
3146
+ # @param [MglData] y
3147
+ # @param [MglData] ax
3148
+ # @param [MglData] ay
3149
+ # @param [String] sch default=""
3150
+ # @param [Float] r0 default=0.05
3151
+ # @param [String] opt default=""
3152
+ # @return [nil]
3153
+ def pipe
3154
+ end
3155
+
3156
+
3157
+ # Vector fields.
3158
+ # This is 3D version of the first functions. Here arrays ax, ay, az must be 3-ranged tensors with equal sizes and the color of line is proportional to }.
3159
+ # @overload pipe(ax,ay,az,sch="",r0=0.05,opt="")
3160
+ # @param [MglData] ax
3161
+ # @param [MglData] ay
3162
+ # @param [MglData] az
3163
+ # @param [String] sch default=""
3164
+ # @param [Float] r0 default=0.05
3165
+ # @param [String] opt default=""
3166
+ # @return [nil]
3167
+ # @overload pipe(x,y,z,ax,ay,az,sch="",r0=0.05,opt="")
3168
+ # @param [MglData] x
3169
+ # @param [MglData] y
3170
+ # @param [MglData] z
3171
+ # @param [MglData] ax
3172
+ # @param [MglData] ay
3173
+ # @param [MglData] az
3174
+ # @param [String] sch default=""
3175
+ # @param [Float] r0 default=0.05
3176
+ # @param [String] opt default=""
3177
+ # @return [nil]
3178
+ def pipe
3179
+ end
3180
+
3181
+
3182
+ # Other plotting.
3183
+ # These plotting functions draw density plot in x, y, or z plain. If a is a tensor (3-dimensional data) then interpolation to a given sVal is performed. These functions are useful for creating projections of the 3D data array to the bounding box. See also ContXYZ, ContFXYZ, dens, Data manipulation.
3184
+ # @overload dens_x(a,stl="",sval=NAN,opt="")
3185
+ # @param [MglData] a
3186
+ # @param [String] stl default=""
3187
+ # @param [Float] sval default=NAN
3188
+ # @param [String] opt default=""
3189
+ # @return [nil]
3190
+ # @overload dens_y(a,stl="",sval=NAN,opt="")
3191
+ # @param [MglData] a
3192
+ # @param [String] stl default=""
3193
+ # @param [Float] sval default=NAN
3194
+ # @param [String] opt default=""
3195
+ # @return [nil]
3196
+ # @overload dens_z(a,stl="",sval=NAN,opt="")
3197
+ # @param [MglData] a
3198
+ # @param [String] stl default=""
3199
+ # @param [Float] sval default=NAN
3200
+ # @param [String] opt default=""
3201
+ # @return [nil]
3202
+ def dens_z
3203
+ end
3204
+
3205
+
3206
+ # Other plotting.
3207
+ # These plotting functions draw contour lines in x, y, or z plain. If a is a tensor (3-dimensional data) then interpolation to a given sVal is performed. These functions are useful for creating projections of the 3D data array to the bounding box. See also ContFXYZ, DensXYZ, cont, Data manipulation.
3208
+ # @overload cont_x(a,stl="",sval=NAN,opt="")
3209
+ # @param [MglData] a
3210
+ # @param [String] stl default=""
3211
+ # @param [Float] sval default=NAN
3212
+ # @param [String] opt default=""
3213
+ # @return [nil]
3214
+ # @overload cont_y(a,stl="",sval=NAN,opt="")
3215
+ # @param [MglData] a
3216
+ # @param [String] stl default=""
3217
+ # @param [Float] sval default=NAN
3218
+ # @param [String] opt default=""
3219
+ # @return [nil]
3220
+ # @overload cont_z(a,stl="",sval=NAN,opt="")
3221
+ # @param [MglData] a
3222
+ # @param [String] stl default=""
3223
+ # @param [Float] sval default=NAN
3224
+ # @param [String] opt default=""
3225
+ # @return [nil]
3226
+ def cont_z
3227
+ end
3228
+
3229
+
3230
+ # Other plotting.
3231
+ # The same as previous with manual contour levels.
3232
+ # @overload cont_x(v,a,stl="",sval=NAN,opt="")
3233
+ # @param [MglData] v
3234
+ # @param [MglData] a
3235
+ # @param [String] stl default=""
3236
+ # @param [Float] sval default=NAN
3237
+ # @param [String] opt default=""
3238
+ # @return [nil]
3239
+ # @overload cont_y(v,a,stl="",sval=NAN,opt="")
3240
+ # @param [MglData] v
3241
+ # @param [MglData] a
3242
+ # @param [String] stl default=""
3243
+ # @param [Float] sval default=NAN
3244
+ # @param [String] opt default=""
3245
+ # @return [nil]
3246
+ # @overload cont_z(v,a,stl="",sval=NAN,opt="")
3247
+ # @param [MglData] v
3248
+ # @param [MglData] a
3249
+ # @param [String] stl default=""
3250
+ # @param [Float] sval default=NAN
3251
+ # @param [String] opt default=""
3252
+ # @return [nil]
3253
+ def cont_z
3254
+ end
3255
+
3256
+
3257
+ # Other plotting.
3258
+ # These plotting functions draw solid contours in x, y, or z plain. If a is a tensor (3-dimensional data) then interpolation to a given sVal is performed. These functions are useful for creating projections of the 3D data array to the bounding box. See also ContFXYZ, DensXYZ, cont, Data manipulation.
3259
+ # @overload cont_fx(a,stl="",sval=NAN,opt="")
3260
+ # @param [MglData] a
3261
+ # @param [String] stl default=""
3262
+ # @param [Float] sval default=NAN
3263
+ # @param [String] opt default=""
3264
+ # @return [nil]
3265
+ # @overload cont_fy(a,stl="",sval=NAN,opt="")
3266
+ # @param [MglData] a
3267
+ # @param [String] stl default=""
3268
+ # @param [Float] sval default=NAN
3269
+ # @param [String] opt default=""
3270
+ # @return [nil]
3271
+ # @overload cont_fz(a,stl="",sval=NAN,opt="")
3272
+ # @param [MglData] a
3273
+ # @param [String] stl default=""
3274
+ # @param [Float] sval default=NAN
3275
+ # @param [String] opt default=""
3276
+ # @return [nil]
3277
+ def cont_fz
3278
+ end
3279
+
3280
+
3281
+ # Other plotting.
3282
+ # The same as previous with manual contour levels.
3283
+ # @overload cont_fx(v,a,stl="",sval=NAN,opt="")
3284
+ # @param [MglData] v
3285
+ # @param [MglData] a
3286
+ # @param [String] stl default=""
3287
+ # @param [Float] sval default=NAN
3288
+ # @param [String] opt default=""
3289
+ # @return [nil]
3290
+ # @overload cont_fy(v,a,stl="",sval=NAN,opt="")
3291
+ # @param [MglData] v
3292
+ # @param [MglData] a
3293
+ # @param [String] stl default=""
3294
+ # @param [Float] sval default=NAN
3295
+ # @param [String] opt default=""
3296
+ # @return [nil]
3297
+ # @overload cont_fz(v,a,stl="",sval=NAN,opt="")
3298
+ # @param [MglData] v
3299
+ # @param [MglData] a
3300
+ # @param [String] stl default=""
3301
+ # @param [Float] sval default=NAN
3302
+ # @param [String] opt default=""
3303
+ # @return [nil]
3304
+ def cont_fz
3305
+ end
3306
+
3307
+
3308
+ # Other plotting.
3309
+ # Draws command function at plane z=Min.z where variable is changed in xrange. You do not need to create the data arrays to plot it. See also plot.
3310
+ # @overload fplot(eqy,pen="",opt="")
3311
+ # @param [String] eqy
3312
+ # @param [String] pen default=""
3313
+ # @param [String] opt default=""
3314
+ # @return [nil]
3315
+ def fplot
3316
+ end
3317
+
3318
+
3319
+ # Other plotting.
3320
+ # Draws command parametrical curve (, , ) where variable is changed in range [0, 1]. You do not need to create the data arrays to plot it. See also plot.
3321
+ # @overload fplot(eqx,eqy,eqz,pen,opt="")
3322
+ # @param [String] eqx
3323
+ # @param [String] eqy
3324
+ # @param [String] eqz
3325
+ # @param [String] pen
3326
+ # @param [String] opt default=""
3327
+ # @return [nil]
3328
+ def fplot
3329
+ end
3330
+
3331
+
3332
+ # Other plotting.
3333
+ # Draws command surface for function where , variable are changed in xrange, yrange. You do not need to create the data arrays to plot it. See also surf.
3334
+ # @overload fsurf(eqz,sch="",opt="")
3335
+ # @param [String] eqz
3336
+ # @param [String] sch default=""
3337
+ # @param [String] opt default=""
3338
+ # @return [nil]
3339
+ def fsurf
3340
+ end
3341
+
3342
+
3343
+ # Other plotting.
3344
+ # Draws command parametrical surface (, , ) where , variable are changed in range [0, 1]. You do not need to create the data arrays to plot it. See also surf.
3345
+ # @overload fsurf(eqx,eqy,eqz,sch="",opt="")
3346
+ # @param [String] eqx
3347
+ # @param [String] eqy
3348
+ # @param [String] eqz
3349
+ # @param [String] sch default=""
3350
+ # @param [String] opt default=""
3351
+ # @return [nil]
3352
+ def fsurf
3353
+ end
3354
+
3355
+
3356
+ # Other plotting.
3357
+ # The function draws the surface of triangles. Triangle vertexes are set by indexes id of data points (x[i], y[i], z[i]). String sch sets the color scheme. If string contain then wire plot is produced. First dimensions of id must be 3 or greater. Arrays x, y, z must have equal sizes. Parameter c set the colors of triangles (if id.ny=c.nx) or colors of vertexes (if x.nx=c.nx). See also dots, crust, quadplot, triangulation.
3358
+ # @overload tri_plot(id,x,y,sch="",opt="")
3359
+ # @param [MglData] id
3360
+ # @param [MglData] x
3361
+ # @param [MglData] y
3362
+ # @param [String] sch default=""
3363
+ # @param [String] opt default=""
3364
+ # @return [nil]
3365
+ # @overload tri_plot(id,x,y,z,c,sch="",opt="")
3366
+ # @param [MglData] id
3367
+ # @param [MglData] x
3368
+ # @param [MglData] y
3369
+ # @param [MglData] z
3370
+ # @param [MglData] c
3371
+ # @param [String] sch default=""
3372
+ # @param [String] opt default=""
3373
+ # @return [nil]
3374
+ # @overload tri_plot(id,x,y,z,sch="",opt="")
3375
+ # @param [MglData] id
3376
+ # @param [MglData] x
3377
+ # @param [MglData] y
3378
+ # @param [MglData] z
3379
+ # @param [String] sch default=""
3380
+ # @param [String] opt default=""
3381
+ # @return [nil]
3382
+ def tri_plot
3383
+ end
3384
+
3385
+
3386
+ # Other plotting.
3387
+ # The function draws contour lines for surface of triangles at z=v[k] (or at z = Min.z if sch contain symbol ). Triangle vertexes are set by indexes id of data points (x[i], y[i], z[i]). Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v. String sch sets the color scheme. Array c (if specified) is used for contour coloring. First dimensions of id must be 3 or greater. Arrays x, y, z must have equal sizes. Parameter c set the colors of triangles (if id.ny=c.nx) or colors of vertexes (if x.nx=c.nx). See also triplot, cont, triangulation.
3388
+ # @overload tri_cont(id,x,y,z,c,sch="",opt="")
3389
+ # @param [MglData] id
3390
+ # @param [MglData] x
3391
+ # @param [MglData] y
3392
+ # @param [MglData] z
3393
+ # @param [MglData] c
3394
+ # @param [String] sch default=""
3395
+ # @param [String] opt default=""
3396
+ # @return [nil]
3397
+ # @overload tri_cont(id,x,y,z,sch="",opt="")
3398
+ # @param [MglData] id
3399
+ # @param [MglData] x
3400
+ # @param [MglData] y
3401
+ # @param [MglData] z
3402
+ # @param [String] sch default=""
3403
+ # @param [String] opt default=""
3404
+ # @return [nil]
3405
+ # @overload tri_cont_v(v,id,x,y,z,c,sch="",opt="")
3406
+ # @param [MglData] v
3407
+ # @param [MglData] id
3408
+ # @param [MglData] x
3409
+ # @param [MglData] y
3410
+ # @param [MglData] z
3411
+ # @param [MglData] c
3412
+ # @param [String] sch default=""
3413
+ # @param [String] opt default=""
3414
+ # @return [nil]
3415
+ # @overload tri_cont_v(v,id,x,y,z,sch="",opt="")
3416
+ # @param [MglData] v
3417
+ # @param [MglData] id
3418
+ # @param [MglData] x
3419
+ # @param [MglData] y
3420
+ # @param [MglData] z
3421
+ # @param [String] sch default=""
3422
+ # @param [String] opt default=""
3423
+ # @return [nil]
3424
+ def tri_cont_v
3425
+ end
3426
+
3427
+
3428
+ # Other plotting.
3429
+ # The function draws the surface of quadrangles. Quadrangles vertexes are set by indexes id of data points (x[i], y[i], z[i]). String sch sets the color scheme. If string contain then wire plot is produced. First dimensions of id must be 4 or greater. Arrays x, y, z must have equal sizes. Parameter c set the colors of quadrangles (if id.ny=c.nx) or colors of vertexes (if x.nx=c.nx). See also triplot.
3430
+ # @overload quad_plot(id,x,y,sch="",opt="")
3431
+ # @param [MglData] id
3432
+ # @param [MglData] x
3433
+ # @param [MglData] y
3434
+ # @param [String] sch default=""
3435
+ # @param [String] opt default=""
3436
+ # @return [nil]
3437
+ # @overload quad_plot(id,x,y,z,c,sch="",opt="")
3438
+ # @param [MglData] id
3439
+ # @param [MglData] x
3440
+ # @param [MglData] y
3441
+ # @param [MglData] z
3442
+ # @param [MglData] c
3443
+ # @param [String] sch default=""
3444
+ # @param [String] opt default=""
3445
+ # @return [nil]
3446
+ # @overload quad_plot(id,x,y,z,sch="",opt="")
3447
+ # @param [MglData] id
3448
+ # @param [MglData] x
3449
+ # @param [MglData] y
3450
+ # @param [MglData] z
3451
+ # @param [String] sch default=""
3452
+ # @param [String] opt default=""
3453
+ # @return [nil]
3454
+ def quad_plot
3455
+ end
3456
+
3457
+
3458
+ # Other plotting.
3459
+ # The function draws the arbitrary placed points (x[i], y[i], z[i]). String sch sets the color scheme. If array a is specified then it define colors of dots. Arrays x, y, z, a must have equal sizes. See also crust, mark, plot.
3460
+ # @overload dots(x,y,z,sch="",opt="")
3461
+ # @param [MglData] x
3462
+ # @param [MglData] y
3463
+ # @param [MglData] z
3464
+ # @param [String] sch default=""
3465
+ # @param [String] opt default=""
3466
+ # @return [nil]
3467
+ # @overload dots(x,y,z,a,sch="",opt="")
3468
+ # @param [MglData] x
3469
+ # @param [MglData] y
3470
+ # @param [MglData] z
3471
+ # @param [MglData] a
3472
+ # @param [String] sch default=""
3473
+ # @param [String] opt default=""
3474
+ # @return [nil]
3475
+ def dots
3476
+ end
3477
+
3478
+
3479
+ # Other plotting.
3480
+ # The function reconstruct and draws the surface for arbitrary placed points (x[i], y[i], z[i]). String sch sets the color scheme. If string contain then wire plot is produced. Arrays x, y, z must have equal sizes. See also dots, triplot. @c
3481
+ # @overload crust(x,y,z,sch="",opt="")
3482
+ # @param [MglData] x
3483
+ # @param [MglData] y
3484
+ # @param [MglData] z
3485
+ # @param [String] sch default=""
3486
+ # @param [String] opt default=""
3487
+ # @return [nil]
3488
+ def crust
3489
+ end
3490
+
3491
+
3492
+ # Nonlinear fitting.
3493
+ # Fit data along x-, y- and z-directions for array specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]) with weight factor s[i,j,k].
3494
+ # @overload fit_s(a,s,func,var,opt="")
3495
+ # @param [MglData] a
3496
+ # @param [MglData] s
3497
+ # @param [String] func
3498
+ # @param [String] var
3499
+ # @param [String] opt default=""
3500
+ # @return [MglData]
3501
+ # @overload fit_s(a,s,func,var,ini,opt="")
3502
+ # @param [MglData] a
3503
+ # @param [MglData] s
3504
+ # @param [String] func
3505
+ # @param [String] var
3506
+ # @param [MglData] ini
3507
+ # @param [String] opt default=""
3508
+ # @return [MglData]
3509
+ # @overload fit_s(x,a,s,func,var,opt="")
3510
+ # @param [MglData] x
3511
+ # @param [MglData] a
3512
+ # @param [MglData] s
3513
+ # @param [String] func
3514
+ # @param [String] var
3515
+ # @param [String] opt default=""
3516
+ # @return [MglData]
3517
+ # @overload fit_s(x,a,s,func,var,ini,opt="")
3518
+ # @param [MglData] x
3519
+ # @param [MglData] a
3520
+ # @param [MglData] s
3521
+ # @param [String] func
3522
+ # @param [String] var
3523
+ # @param [MglData] ini
3524
+ # @param [String] opt default=""
3525
+ # @return [MglData]
3526
+ # @overload fit_s(x,y,a,s,func,var,opt="")
3527
+ # @param [MglData] x
3528
+ # @param [MglData] y
3529
+ # @param [MglData] a
3530
+ # @param [MglData] s
3531
+ # @param [String] func
3532
+ # @param [String] var
3533
+ # @param [String] opt default=""
3534
+ # @return [MglData]
3535
+ # @overload fit_s(x,y,a,s,func,var,ini,opt="")
3536
+ # @param [MglData] x
3537
+ # @param [MglData] y
3538
+ # @param [MglData] a
3539
+ # @param [MglData] s
3540
+ # @param [String] func
3541
+ # @param [String] var
3542
+ # @param [MglData] ini
3543
+ # @param [String] opt default=""
3544
+ # @return [MglData]
3545
+ # @overload fit_s(x,y,z,a,s,func,var,opt="")
3546
+ # @param [MglData] x
3547
+ # @param [MglData] y
3548
+ # @param [MglData] z
3549
+ # @param [MglData] a
3550
+ # @param [MglData] s
3551
+ # @param [String] func
3552
+ # @param [String] var
3553
+ # @param [String] opt default=""
3554
+ # @return [MglData]
3555
+ # @overload fit_s(x,y,z,a,s,func,var,ini,opt="")
3556
+ # @param [MglData] x
3557
+ # @param [MglData] y
3558
+ # @param [MglData] z
3559
+ # @param [MglData] a
3560
+ # @param [MglData] s
3561
+ # @param [String] func
3562
+ # @param [String] var
3563
+ # @param [MglData] ini
3564
+ # @param [String] opt default=""
3565
+ # @return [MglData]
3566
+ def fit_s
3567
+ end
3568
+
3569
+
3570
+ # Nonlinear fitting.
3571
+ # Fit data along x-, y- and z-directions for array specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]) with weight factor 1.
3572
+ # @overload fit(a,func,var,opt="")
3573
+ # @param [MglData] a
3574
+ # @param [String] func
3575
+ # @param [String] var
3576
+ # @param [String] opt default=""
3577
+ # @return [MglData]
3578
+ # @overload fit(a,func,var,ini,opt="")
3579
+ # @param [MglData] a
3580
+ # @param [String] func
3581
+ # @param [String] var
3582
+ # @param [MglData] ini
3583
+ # @param [String] opt default=""
3584
+ # @return [MglData]
3585
+ # @overload fit(x,a,func,var,opt="")
3586
+ # @param [MglData] x
3587
+ # @param [MglData] a
3588
+ # @param [String] func
3589
+ # @param [String] var
3590
+ # @param [String] opt default=""
3591
+ # @return [MglData]
3592
+ # @overload fit(x,a,func,var,ini,opt="")
3593
+ # @param [MglData] x
3594
+ # @param [MglData] a
3595
+ # @param [String] func
3596
+ # @param [String] var
3597
+ # @param [MglData] ini
3598
+ # @param [String] opt default=""
3599
+ # @return [MglData]
3600
+ # @overload fit(x,y,a,func,var,opt="")
3601
+ # @param [MglData] x
3602
+ # @param [MglData] y
3603
+ # @param [MglData] a
3604
+ # @param [String] func
3605
+ # @param [String] var
3606
+ # @param [String] opt default=""
3607
+ # @return [MglData]
3608
+ # @overload fit(x,y,a,func,var,ini,opt="")
3609
+ # @param [MglData] x
3610
+ # @param [MglData] y
3611
+ # @param [MglData] a
3612
+ # @param [String] func
3613
+ # @param [String] var
3614
+ # @param [MglData] ini
3615
+ # @param [String] opt default=""
3616
+ # @return [MglData]
3617
+ # @overload fit(x,y,z,a,func,var,opt="")
3618
+ # @param [MglData] x
3619
+ # @param [MglData] y
3620
+ # @param [MglData] z
3621
+ # @param [MglData] a
3622
+ # @param [String] func
3623
+ # @param [String] var
3624
+ # @param [String] opt default=""
3625
+ # @return [MglData]
3626
+ # @overload fit(x,y,z,a,func,var,ini,opt="")
3627
+ # @param [MglData] x
3628
+ # @param [MglData] y
3629
+ # @param [MglData] z
3630
+ # @param [MglData] a
3631
+ # @param [String] func
3632
+ # @param [String] var
3633
+ # @param [MglData] ini
3634
+ # @param [String] opt default=""
3635
+ # @return [MglData]
3636
+ def fit
3637
+ end
3638
+
3639
+
3640
+ # Nonlinear fitting.
3641
+ # Fit data along all directions for 2d or 3d arrays a with s=1 and x, y, z equidistantly distributed in interval [Min, Max].
3642
+ # @overload fit2(a,func,var,opt="")
3643
+ # @param [MglData] a
3644
+ # @param [String] func
3645
+ # @param [String] var
3646
+ # @param [String] opt default=""
3647
+ # @return [MglData]
3648
+ # @overload fit2(fit,a,func,var,ini,opt="")
3649
+ # @param [MglData] fit
3650
+ # @param [MglData] a
3651
+ # @param [String] func
3652
+ # @param [String] var
3653
+ # @param [MglData] ini
3654
+ # @param [String] opt default=""
3655
+ # @return [MglData]
3656
+ # @overload fit3(fit,a,func,var,opt="")
3657
+ # @param [MglData] fit
3658
+ # @param [MglData] a
3659
+ # @param [String] func
3660
+ # @param [String] var
3661
+ # @param [String] opt default=""
3662
+ # @return [MglData]
3663
+ # @overload fit3(fit,a,func,var,ini,opt="")
3664
+ # @param [MglData] fit
3665
+ # @param [MglData] a
3666
+ # @param [String] func
3667
+ # @param [String] var
3668
+ # @param [MglData] ini
3669
+ # @param [String] opt default=""
3670
+ # @return [MglData]
3671
+ def fit3
3672
+ end
3673
+
3674
+
3675
+ # Nonlinear fitting.
3676
+ # Print last fitted formula with found coefficients (as numbers) at position p0. The string prefix will be printed before formula. All other parameters are the same as in Text printing.
3677
+ # @overload puts_fit(p,prefix="",font="",size=-1)
3678
+ # @param [MglPoint] p
3679
+ # @param [String] prefix default=""
3680
+ # @param [String] font default=""
3681
+ # @param [Float] size default=-1
3682
+ # @return [nil]
3683
+ def puts_fit
3684
+ end
3685
+
3686
+
3687
+ # Nonlinear fitting.
3688
+ # Get last fitted formula with found coefficients (as numbers).
3689
+ # @overload get_fit()
3690
+ # @return [String]
3691
+ def get_fit
3692
+ end
3693
+
3694
+
3695
+ # Data manipulation.
3696
+ # These functions make distribution (histogram) of data. They do not draw the obtained data themselves. These functions can be useful if user have data defined for random points (for example, after PIC simulation) and he want to produce a plot which require regular data (defined on grid(s)). The range for grids is always selected as axis range. Arrays x, y, z define the positions (coordinates) of random points. Array a define the data value. Number of points in output array res is selected as maximal value of res size and the value of mglFitPnts.
3697
+ # @overload hist(x,a,opt="")
3698
+ # @param [MglData] x
3699
+ # @param [MglData] a
3700
+ # @param [String] opt default=""
3701
+ # @return [MglData]
3702
+ # @overload hist(x,y,a,opt="")
3703
+ # @param [MglData] x
3704
+ # @param [MglData] y
3705
+ # @param [MglData] a
3706
+ # @param [String] opt default=""
3707
+ # @return [MglData]
3708
+ # @overload hist(x,y,z,a,opt="")
3709
+ # @param [MglData] x
3710
+ # @param [MglData] y
3711
+ # @param [MglData] z
3712
+ # @param [MglData] a
3713
+ # @param [String] opt default=""
3714
+ # @return [MglData]
3715
+ def hist
3716
+ end
3717
+
3718
+
3719
+ # Data manipulation.
3720
+ # Fills the value of array according to the formula in string eq. Formula is an arbitrary expression depending on variables , , , , , . Coordinates , , are supposed to be normalized in axis range. Variable is the original value of the array. Variables and are values of arrays v, w which can be NULL (i.e. can be omitted).
3721
+ # @overload fill(u,eq,opt="")
3722
+ # @param [MglData] u
3723
+ # @param [String] eq
3724
+ # @param [String] opt default=""
3725
+ # @return [nil]
3726
+ # @overload fill(u,eq,v,opt="")
3727
+ # @param [MglData] u
3728
+ # @param [String] eq
3729
+ # @param [MglData] v
3730
+ # @param [String] opt default=""
3731
+ # @return [nil]
3732
+ # @overload fill(u,eq,v,w,opt="")
3733
+ # @param [MglData] u
3734
+ # @param [String] eq
3735
+ # @param [MglData] v
3736
+ # @param [MglData] w
3737
+ # @param [String] opt default=""
3738
+ # @return [nil]
3739
+ def fill
3740
+ end
3741
+
3742
+
3743
+ # Data manipulation.
3744
+ # Fills the value of array according to the linear interpolation of triangulated surface, found for arbitrary placed points , , . Interpolation is done at points equidistantly distributed in axis range. NAN value is used for grid points placed outside of triangulated surface.
3745
+ # @overload data_grid(u,x,y,z,opt="")
3746
+ # @param [MglData] u
3747
+ # @param [MglData] x
3748
+ # @param [MglData] y
3749
+ # @param [MglData] z
3750
+ # @param [String] opt default=""
3751
+ # @return [nil]
3752
+ def data_grid
3753
+ end
3754
+
3755
+
3756
+ # Data manipulation.
3757
+ # Solves equation du/dz = i*k0*ham(p,q,x,y,z,|u|)[u], where p=-i/k0*d/dx, q=-i/k0*d/dy are pseudo-differential operators. Parameters ini_re, ini_im specify real and imaginary part of initial field distribution. Coordinates , , are supposed to be normalized in axis range. Note, that really this ranges are increased by factor 3/2 for purpose of reducing reflection from boundaries. Parameter dz set the step along evolutionary coordinate z. At this moment, simplified form of function ham is supported -- all ``mixed'' terms (like ->x*d/dx) are excluded. For example, in 2D case this function is effectively . However commutable combinations (like ->x*d/dy) are allowed. Here variable is used for field amplitude |u|. This allow one solve nonlinear problems -- for example, for nonlinear Shrodinger equation you may set ham="p^2 + q^2 - u^2". You may specify imaginary part for wave absorption, like ham = "p^2 + i*x*(x>0)", but only if dependence on variable is linear (i.e. ).
3758
+ # @overload pde(ham,ini_re,ini_im,dz=0.1,k0=100,opt="")
3759
+ # @param [String] ham
3760
+ # @param [MglData] ini_re
3761
+ # @param [MglData] ini_im
3762
+ # @param [Float] dz default=0.1
3763
+ # @param [Float] k0 default=100
3764
+ # @param [String] opt default=""
3765
+ # @return [MglData]
3766
+ def pde
3767
+ end
3768
+
3769
+
3770
+ end # MglGraph
3771
+