This file is indexed.

/usr/share/doc/mathgl/mathgl_en/mathgl_en_39.html is in mathgl-doc-en 2.1.3.1-4ubuntu3.

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

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- This manual is for MathGL (version 2.1.2), a collection of classes and routines for scientific plotting. Please report any errors in this manual to mathgl.abalakin@gmail.org.

Copyright C 2008-2012 Alexey A. Balakin.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.  A copy of the license is included in the section entitled "GNU
Free Documentation License."


 -->
<!-- Created on December 22, 2013 by texi2html 1.82
texi2html was written by: 
            Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>MathGL 2.1.2: 4.10 1D plotting</title>

<meta name="description" content="MathGL 2.1.2: 4.10 1D plotting">
<meta name="keywords" content="MathGL 2.1.2: 4.10 1D plotting">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.82">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<a name="g_t1D-plotting"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_38.html#Legend" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_40.html#g_t2D-plotting" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_47.html#Widget-classes" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="mathgl_en.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_88.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="g_t1D-plotting-1"></a>
<h2 class="section">4.10 1D plotting</h2>
<a name="index-Plot"></a>
<a name="index-Radar"></a>
<a name="index-Tens"></a>
<a name="index-Area"></a>
<a name="index-Region"></a>
<a name="index-Stem"></a>
<a name="index-Bars"></a>
<a name="index-Barh"></a>
<a name="index-Chart"></a>
<a name="index-Step"></a>
<a name="index-Torus"></a>
<a name="index-Tube"></a>
<a name="index-Mark-2"></a>
<a name="index-TextMark"></a>
<a name="index-Error-2"></a>
<a name="index-BoxPlot"></a>
<a name="index-Candle"></a>
<a name="index-Tape"></a>
<a name="index-Label-4"></a>
<a name="index-Cones"></a>

<p>These functions perform plotting of 1D data. 1D means that data depended from only 1 parameter like parametric curve {x[i],y[i],z[i]}, i=1...n. By default (if absent) values of <var>x</var>[i] are equidistantly distributed in axis range, and <var>z</var>[i]=<var>Min</var>.z. The plots are drawn for each row if one of the data is the matrix. By any case the sizes of 1st dimension <strong>must be equal</strong> for all arrays <code>x.nx=y.nx=z.nx</code>.
</p>
<p>String <var>pen</var> specifies the color and style of line and marks (see <a href="mathgl_en_23.html#Line-styles">Line styles</a>). By default (<code>pen=&quot;&quot;</code>) solid line with color from palette is used (see <a href="mathgl_en_31.html#Palette-and-colors">Palette and colors</a>). Symbol &lsquo;<samp>!</samp>&rsquo; set to use new color from palette for each point (not for each curve, as default). String <var>opt</var> contain command options (see <a href="mathgl_en_27.html#Command-options">Command options</a>). See section <a href="mathgl_en_14.html#g_t1D-samples">1D samples</a>, for sample code and picture.
</p>
<p><a name="plot"></a>
</p><dl>
<dt><a name="index-plot"></a><u>MGL command:</u> <b>plot</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-plot-1"></a><u>MGL command:</u> <b>plot</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-plot-2"></a><u>MGL command:</u> <b>plot</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Plot-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Plot</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Plot-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Plot</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Plot-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Plot</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fplot"></a><u>C function:</u> <code>void</code> <b>mgl_plot</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fplot_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_plot_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fplot_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_plot_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw continuous lines between points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]}. See also <a href="#area">area</a>, <a href="#step">step</a>, <a href="#stem">stem</a>, <a href="#tube">tube</a>, <a href="#mark">mark</a>, <a href="#error">error</a>, <a href="mathgl_en_40.html#belt">belt</a>, <a href="#tens">tens</a>, <a href="#tape">tape</a>. See section <a href="mathgl_en_14.html#Plot-sample">Plot sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="radar"></a>
</p><dl>
<dt><a name="index-radar"></a><u>MGL command:</u> <b>radar</b><i> adat ['stl'='']</i></dt>
<dt><a name="index-Radar-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Radar</b><i> (<code>const mglDataA &amp;</code>a, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fradar"></a><u>C function:</u> <code>void</code> <b>mgl_radar</b><i> (<code>HMGL</code> gr, <code>HCDT</code> a, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>This functions draws radar chart which is continuous lines between points located on an radial lines (like plot in Polar coordinates). Parameter <var>value</var> in options <var>opt</var> set the additional shift of data (i.e. the data <var>a</var>+<var>value</var> is used instead of <var>a</var>). If <code>value&lt;0</code> then <code>r=max(0, -min(value)</code>. If <var>pen</var> containt &lsquo;<samp>#</samp>&rsquo; symbol then &quot;grid&quot; (radial lines and circle for <var>r</var>) is drawn. See also <a href="#plot">plot</a>. See section <a href="mathgl_en_14.html#Radar-sample">Radar sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="step"></a>
</p><dl>
<dt><a name="index-step"></a><u>MGL command:</u> <b>step</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-step-1"></a><u>MGL command:</u> <b>step</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-step-2"></a><u>MGL command:</u> <b>step</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Step-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Step</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Step-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Step</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Step-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Step</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fstep"></a><u>C function:</u> <code>void</code> <b>mgl_step</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fstep_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_step_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fstep_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_step_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw continuous stairs for points to axis plane. See also <a href="#plot">plot</a>, <a href="#stem">stem</a>, <a href="mathgl_en_40.html#tile">tile</a>, <a href="mathgl_en_40.html#boxs">boxs</a>. See section <a href="mathgl_en_14.html#Step-sample">Step sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="tens"></a>
</p><dl>
<dt><a name="index-tens"></a><u>MGL command:</u> <b>tens</b><i> ydat cdat ['stl'='']</i></dt>
<dt><a name="index-tens-1"></a><u>MGL command:</u> <b>tens</b><i> xdat ydat cdat ['stl'='']</i></dt>
<dt><a name="index-tens-2"></a><u>MGL command:</u> <b>tens</b><i> xdat ydat zdat cdat ['stl'='']</i></dt>
<dt><a name="index-Tens-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tens</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>c, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tens-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tens</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>c, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tens-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tens</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const mglDataA &amp;</code>c, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ftens"></a><u>C function:</u> <code>void</code> <b>mgl_tens</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> c, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftens_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_tens_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> c, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftens_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_tens_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>HCDT</code> c, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw continuous lines between points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]} with color defined by the special array <var>c</var>[i] (look like tension plot). String <var>pen</var> specifies the color scheme (see <a href="mathgl_en_24.html#Color-scheme">Color scheme</a>) and style and/or width of line (see <a href="mathgl_en_23.html#Line-styles">Line styles</a>). See also <a href="#plot">plot</a>, <a href="mathgl_en_40.html#mesh">mesh</a>, <a href="mathgl_en_40.html#fall">fall</a>. See section <a href="mathgl_en_14.html#Tens-sample">Tens sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="tape"></a>
</p><dl>
<dt><a name="index-tape"></a><u>MGL command:</u> <b>tape</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-tape-1"></a><u>MGL command:</u> <b>tape</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-tape-2"></a><u>MGL command:</u> <b>tape</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Tape-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tape</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tape-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tape</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tape-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tape</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ftape"></a><u>C function:</u> <code>void</code> <b>mgl_tape</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftape_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_tape_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftape_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_tape_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw tapes of normals for curve between points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]}. Initial tape(s) was selected in x-y plane (for &lsquo;<samp>x</samp>&rsquo; in <var>pen</var>) and/or y-z plane (for &lsquo;<samp>x</samp>&rsquo; in <var>pen</var>). The width of tape is proportional to <a href="mathgl_en_31.html#barwidth">barwidth</a>. See also <a href="#plot">plot</a>, <a href="mathgl_en_43.html#flow">flow</a>, <a href="mathgl_en_31.html#barwidth">barwidth</a>. See section <a href="mathgl_en_14.html#Tape-sample">Tape sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="area"></a>
</p><dl>
<dt><a name="index-area"></a><u>MGL command:</u> <b>area</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-area-1"></a><u>MGL command:</u> <b>area</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-area-2"></a><u>MGL command:</u> <b>area</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Area-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Area</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Area-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Area</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Area-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Area</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005farea"></a><u>C function:</u> <code>void</code> <b>mgl_area</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005farea_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_area_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005farea_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_area_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>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 <a href="#plot">plot</a>, <a href="#bars">bars</a>, <a href="#stem">stem</a>, <a href="#region">region</a>. See section <a href="mathgl_en_14.html#Area-sample">Area sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="region"></a>
</p><dl>
<dt><a name="index-region"></a><u>MGL command:</u> <b>region</b><i> ydat1 ydat2 ['stl'='']</i></dt>
<dt><a name="index-region-1"></a><u>MGL command:</u> <b>region</b><i> xdat ydat1 ydat2 ['stl'='']</i></dt>
<dt><a name="index-Region-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Region</b><i> (<code>const mglDataA &amp;</code>y1, <code>const mglDataA &amp;</code>y2, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Region-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Region</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y1, <code>const mglDataA &amp;</code>y2, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fregion"></a><u>C function:</u> <code>void</code> <b>mgl_region</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y1, <code>HCDT</code> y2, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fregion_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_region_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y1, <code>HCDT</code> y2, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions fill area between 2 curves. Dimensions of arrays <var>y1</var> and <var>y2</var> must be equal. Also you can use gradient filling if number of specified colors is equal to 2*number of curves. If <var>pen</var> contain symbol &lsquo;<samp>i</samp>&rsquo; then only area with y1&lt;y&lt;y2 will be filled else the area with y2&lt;y&lt;y1 will be filled too. See also <a href="#area">area</a>, <a href="#bars">bars</a>, <a href="#stem">stem</a>. See section <a href="mathgl_en_14.html#Region-sample">Region sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="stem"></a>
</p><dl>
<dt><a name="index-stem"></a><u>MGL command:</u> <b>stem</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-stem-1"></a><u>MGL command:</u> <b>stem</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-stem-2"></a><u>MGL command:</u> <b>stem</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Stem-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Stem</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Stem-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Stem</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Stem-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Stem</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fstem"></a><u>C function:</u> <code>void</code> <b>mgl_stem</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fstem_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_stem_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fstem_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_stem_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw vertical lines from points to axis plane. See also <a href="#area">area</a>, <a href="#bars">bars</a>, <a href="#plot">plot</a>, <a href="#mark">mark</a>. See section <a href="mathgl_en_14.html#Stem-sample">Stem sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="bars"></a>
</p><dl>
<dt><a name="index-bars"></a><u>MGL command:</u> <b>bars</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-bars-1"></a><u>MGL command:</u> <b>bars</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-bars-2"></a><u>MGL command:</u> <b>bars</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Bars-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Bars</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Bars-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Bars</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Bars-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Bars</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fbars"></a><u>C function:</u> <code>void</code> <b>mgl_bars</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fbars_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_bars_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fbars_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_bars_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw vertical bars from points to axis plane. If string <var>pen</var> contain symbol &lsquo;<samp>a</samp>&rsquo; then lines are drawn one above another (like summation). If string contain symbol &lsquo;<samp>f</samp>&rsquo; 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 <a href="#barh">barh</a>, <a href="#cones">cones</a>, <a href="#area">area</a>, <a href="#stem">stem</a>, <a href="#chart">chart</a>, <a href="mathgl_en_31.html#barwidth">barwidth</a>. See section <a href="mathgl_en_14.html#Bars-sample">Bars sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="barh"></a>
</p><dl>
<dt><a name="index-barh"></a><u>MGL command:</u> <b>barh</b><i> vdat ['stl'='']</i></dt>
<dt><a name="index-barh-1"></a><u>MGL command:</u> <b>barh</b><i> ydat vdat ['stl'='']</i></dt>
<dt><a name="index-Barh-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Barh</b><i> (<code>const mglDataA &amp;</code>v, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Barh-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Barh</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>v, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fbarh"></a><u>C function:</u> <code>void</code> <b>mgl_barh</b><i> (<code>HMGL</code> gr, <code>HCDT</code> v, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fbarh_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_barh_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> v, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw horizontal bars from points to axis plane. If string contain symbol &lsquo;<samp>a</samp>&rsquo; then lines are drawn one above another (like summation). If string contain symbol &lsquo;<samp>f</samp>&rsquo; 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 <a href="#bars">bars</a>, <a href="mathgl_en_31.html#barwidth">barwidth</a>. See section <a href="mathgl_en_14.html#Barh-sample">Barh sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="cones"></a>
</p><dl>
<dt><a name="index-cones"></a><u>MGL command:</u> <b>cones</b><i> ydat ['stl'='']</i></dt>
<dt><a name="index-cones-1"></a><u>MGL command:</u> <b>cones</b><i> xdat ydat ['stl'='']</i></dt>
<dt><a name="index-cones-2"></a><u>MGL command:</u> <b>cones</b><i> xdat ydat zdat ['stl'='']</i></dt>
<dt><a name="index-Cones-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Cones</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Cones-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Cones</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Cones-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Cones</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fcones"></a><u>C function:</u> <code>void</code> <b>mgl_cones</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fcones_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_cones_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fcones_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_cones_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw cones from points to axis plane. If string contain symbol &lsquo;<samp>a</samp>&rsquo; 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 <a href="#bars">bars</a>, <a href="mathgl_en_31.html#barwidth">barwidth</a>. See section <a href="mathgl_en_14.html#Cones-sample">Cones sample</a>, for sample code and picture.
</p></dd></dl>



<p><a name="chart"></a>
</p><dl>
<dt><a name="index-chart"></a><u>MGL command:</u> <b>chart</b><i> adat ['col'='']</i></dt>
<dt><a name="index-Chart-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Chart</b><i> (<code>const mglDataA &amp;</code>a, <code>const char *</code>col=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fchart"></a><u>C function:</u> <code>void</code> <b>mgl_chart</b><i> (<code>HMGL</code> gr, <code>HCDT</code> a, <code>const char *</code>col, <code>const char *</code>opt)</i></dt>
<dd><p>The function draws colored stripes (boxes) for data in array <var>a</var>. The number of stripes is equal to the number of rows in <var>a</var> (equal to <var>a.ny</var>). The color of each next stripe is cyclically changed from colors specified in string <var>col</var> or in palette Pal (see <a href="mathgl_en_31.html#Palette-and-colors">Palette and colors</a>). Spaces in colors denote transparent &ldquo;color&rdquo; (i.e. corresponding stripe(s) are not drawn). The stripe width is proportional to value of element in <var>a</var>. Chart is plotted only for data with non-negative elements. If string <var>col</var> have symbol &lsquo;<samp>#</samp>&rsquo; 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). See section <a href="mathgl_en_14.html#Chart-sample">Chart sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="boxplot"></a>
</p><dl>
<dt><a name="index-boxplot"></a><u>MGL command:</u> <b>boxplot</b><i> adat ['stl'='']</i></dt>
<dt><a name="index-boxplot-1"></a><u>MGL command:</u> <b>boxplot</b><i> xdat adat ['stl'='']</i></dt>
<dt><a name="index-BoxPlot-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>BoxPlot</b><i> (<code>const mglDataA &amp;</code>a, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-BoxPlot-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>BoxPlot</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>a, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fboxplot"></a><u>C function:</u> <code>void</code> <b>mgl_boxplot</b><i> (<code>HMGL</code> gr, <code>HCDT</code> a, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fboxplot_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_boxplot_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> a, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw boxplot (also known as a box-and-whisker diagram) at points <var>x</var>[i]. This is five-number summaries of data <var>a</var>[i,j] (minimum, lower quartile (Q1), median (Q2), upper quartile (Q3) and maximum) along second (j-th) direction. See also <a href="#plot">plot</a>, <a href="#error">error</a>, <a href="#bars">bars</a>, <a href="mathgl_en_31.html#barwidth">barwidth</a>. See section <a href="mathgl_en_14.html#BoxPlot-sample">BoxPlot sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="candle"></a>
</p><dl>
<dt><a name="index-candle"></a><u>MGL command:</u> <b>candle</b><i> vdat1 ['stl'='']</i></dt>
<dt><a name="index-candle-1"></a><u>MGL command:</u> <b>candle</b><i> vdat1 vdat2 ['stl'='']</i></dt>
<dt><a name="index-candle-2"></a><u>MGL command:</u> <b>candle</b><i> vdat1 ydat1 ydat2 ['stl'='']</i></dt>
<dt><a name="index-candle-3"></a><u>MGL command:</u> <b>candle</b><i> vdat1 vdat2 ydat1 ydat2 ['stl'='']</i></dt>
<dt><a name="index-candle-4"></a><u>MGL command:</u> <b>candle</b><i> xdat vdat1 vdat2 ydat1 ydat2 ['stl'='']</i></dt>
<dt><a name="index-Candle-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Candle</b><i> (<code>const mglDataA &amp;</code>v1, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Candle-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Candle</b><i> (<code>const mglDataA &amp;</code>v1, <code>const mglDataA &amp;</code>v2, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Candle-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Candle</b><i> (<code>const mglDataA &amp;</code>v1, <code>const mglDataA &amp;</code>y1, <code>const mglDataA &amp;</code>y2, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Candle-4"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Candle</b><i> (<code>const mglDataA &amp;</code>v1, <code>const mglDataA &amp;</code>v2, <code>const mglDataA &amp;</code>y1, <code>const mglDataA &amp;</code>y2, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Candle-5"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Candle</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>v1, <code>const mglDataA &amp;</code>v2, <code>const mglDataA &amp;</code>y1, <code>const mglDataA &amp;</code>y2, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fcandle"></a><u>C function:</u> <code>void</code> <b>mgl_candle</b><i> (<code>HMGL</code> gr, <code>HCDT</code> v1, <code>HCDT</code> y1, <code>HCDT</code> y2, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fcandle_005fyv"></a><u>C function:</u> <code>void</code> <b>mgl_candle_yv</b><i> (<code>HMGL</code> gr, <code>HCDT</code> v1, <code>HCDT</code> v2, <code>HCDT</code> y1, <code>HCDT</code> y2, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fcandle_005fxyv"></a><u>C function:</u> <code>void</code> <b>mgl_candle_xyv</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> v1, <code>HCDT</code> v2, <code>HCDT</code> y1, <code>HCDT</code> y2, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw candlestick chart at points <var>x</var>[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 <var>v1</var>[i]&lt;<var>v2</var>[i], opposite case &ndash; solid (or dark) candle. &quot;Shadows&quot; show the minimal <var>y1</var> and maximal <var>y2</var> prices. If <var>v2</var> is absent then it is determined as <var>v2</var>[i]=<var>v1</var>[i+1]. See also <a href="#plot">plot</a>, <a href="#bars">bars</a>, <a href="mathgl_en_31.html#barwidth">barwidth</a>. See section <a href="mathgl_en_14.html#Candle-sample">Candle sample</a>, for sample code and picture.
</p></dd></dl>


<p><a name="error"></a>
</p><dl>
<dt><a name="index-error"></a><u>MGL command:</u> <b>error</b><i> ydat yerr ['stl'='']</i></dt>
<dt><a name="index-error-1"></a><u>MGL command:</u> <b>error</b><i> xdat ydat yerr ['stl'='']</i></dt>
<dt><a name="index-error-2"></a><u>MGL command:</u> <b>error</b><i> xdat ydat xerr yerr ['stl'='']</i></dt>
<dt><a name="index-Error-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Error</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>ey, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Error-4"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Error</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>ey, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Error-5"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Error</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>ex, <code>const mglDataA &amp;</code>ey, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ferror"></a><u>C function:</u> <code>void</code> <b>mgl_error</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> ey, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ferror_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_error_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> ey, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ferror_005fexy"></a><u>C function:</u> <code>void</code> <b>mgl_error_exy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> ex, <code>HCDT</code> ey, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw error boxes {<var>ex</var>[i], <var>ey</var>[i]} at points {<var>x</var>[i], <var>y</var>[i]}. This can be useful, for example, in experimental points, or to show numeric error or some estimations and so on. If string <var>pen</var> contain symbol &lsquo;<samp>@</samp>&rsquo; than large semitransparent mark is used instead of error box. See also <a href="#plot">plot</a>, <a href="#mark">mark</a>. See section <a href="mathgl_en_14.html#Error-sample">Error sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="mark"></a>
</p><dl>
<dt><a name="index-mark"></a><u>MGL command:</u> <b>mark</b><i> ydat rdat ['stl'='']</i></dt>
<dt><a name="index-mark-1"></a><u>MGL command:</u> <b>mark</b><i> xdat ydat rdat ['stl'='']</i></dt>
<dt><a name="index-mark-2"></a><u>MGL command:</u> <b>mark</b><i> xdat ydat zdat rdat ['stl'='']</i></dt>
<dt><a name="index-Mark-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Mark</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Mark-4"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Mark</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Mark-5"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Mark</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const mglDataA &amp;</code>r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005fmark_005fy"></a><u>C function:</u> <code>void</code> <b>mgl_mark_y</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fmark_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_mark_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005fmark_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_mark_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>HCDT</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw marks with size <var>r</var>[i]*<a href="mathgl_en_31.html#marksize">marksize</a> at points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]}. If you need to draw markers of the same size then you can use <a href="#plot">plot</a> function with empty line style &lsquo;<samp> </samp>&rsquo;. For markers with size in axis range use <a href="#error">error</a> with style &lsquo;<samp>@</samp>&rsquo;. See also <a href="#plot">plot</a>, <a href="#textmark">textmark</a>, <a href="#error">error</a>, <a href="#stem">stem</a>. See section <a href="mathgl_en_14.html#Mark-sample">Mark sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="textmark"></a>
</p><dl>
<dt><a name="index-textmark"></a><u>MGL command:</u> <b>textmark</b><i> ydat 'txt' ['stl'='']</i></dt>
<dt><a name="index-textmark-1"></a><u>MGL command:</u> <b>textmark</b><i> ydat rdat 'txt' ['stl'='']</i></dt>
<dt><a name="index-textmark-2"></a><u>MGL command:</u> <b>textmark</b><i> xdat ydat rdat 'txt' ['stl'='']</i></dt>
<dt><a name="index-textmark-3"></a><u>MGL command:</u> <b>textmark</b><i> xdat ydat zdat rdat 'txt' ['stl'='']</i></dt>
<dt><a name="index-TextMark-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>y, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-4"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-5"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-6"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-7"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const mglDataA &amp;</code>r, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-TextMark-8"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>TextMark</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const mglDataA &amp;</code>r, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ftextmark"></a><u>C function:</u> <code>void</code> <b>mgl_textmark</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmarkw"></a><u>C function:</u> <code>void</code> <b>mgl_textmarkw</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmark_005fyr"></a><u>C function:</u> <code>void</code> <b>mgl_textmark_yr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> r, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmarkw_005fyr"></a><u>C function:</u> <code>void</code> <b>mgl_textmarkw_yr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> r, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmark_005fxyr"></a><u>C function:</u> <code>void</code> <b>mgl_textmark_xyr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> r, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmarkw_005fxyr"></a><u>C function:</u> <code>void</code> <b>mgl_textmarkw_xyr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> r, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmark_005fxyzr"></a><u>C function:</u> <code>void</code> <b>mgl_textmark_xyzr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>HCDT</code> r, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftextmarkw_005fxyzr"></a><u>C function:</u> <code>void</code> <b>mgl_textmarkw_xyzr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>HCDT</code> r, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw string <var>txt</var> as marks with size proportional to <var>r</var>[i]*<var>marksize</var> at points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]}. By default (if omitted) <var>r</var>[i]=1. See also <a href="#plot">plot</a>, <a href="#mark">mark</a>, <a href="#stem">stem</a>. See section <a href="mathgl_en_14.html#TextMark-sample">TextMark sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="label"></a>
</p><dl>
<dt><a name="index-label"></a><u>MGL command:</u> <b>label</b><i> ydat 'txt' ['stl'='']</i></dt>
<dt><a name="index-label-1"></a><u>MGL command:</u> <b>label</b><i> xdat ydat 'txt' ['stl'='']</i></dt>
<dt><a name="index-label-2"></a><u>MGL command:</u> <b>label</b><i> xdat ydat zdat 'txt' ['stl'='']</i></dt>
<dt><a name="index-Label-5"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Label</b><i> (<code>const mglDataA &amp;</code>y, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Label-6"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Label</b><i> (<code>const mglDataA &amp;</code>y, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Label-7"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Label</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Label-8"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Label</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Label-9"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Label</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Label-10"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Label</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005flabel-1"></a><u>C function:</u> <code>void</code> <b>mgl_label</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005flabelw-1"></a><u>C function:</u> <code>void</code> <b>mgl_labelw</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005flabel_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_label_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005flabelw_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_labelw_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005flabel_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_label_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005flabelw_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_labelw_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw string <var>txt</var> at points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]}. If string <var>txt</var> contain &lsquo;<samp>%x</samp>&rsquo;, &lsquo;<samp>%y</samp>&rsquo;, &lsquo;<samp>%z</samp>&rsquo; or &lsquo;<samp>%n</samp>&rsquo; then it will be replaced by the value of x-,y-,z-coordinate of the point or its index. See also <a href="#plot">plot</a>, <a href="#mark">mark</a>, <a href="#textmark">textmark</a>, <a href="#table">table</a>. See section <a href="mathgl_en_14.html#Label-sample">Label sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="table"></a>
</p><dl>
<dt><a name="index-table"></a><u>MGL command:</u> <b>table</b><i> vdat 'txt' ['stl'='#']</i></dt>
<dt><a name="index-table-1"></a><u>MGL command:</u> <b>table</b><i> x y vdat 'txt' ['stl'='#']</i></dt>
<dt><a name="index-Table"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Table</b><i> (<code>const mglDataA &amp;</code>val, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Table-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Table</b><i> (<code>const mglDataA &amp;</code>val, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Table-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Table</b><i> (<code>mreal</code> x, <code>mreal</code> y, <code>const mglDataA &amp;</code>val, <code>const char *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Table-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Table</b><i> (<code>mreal</code> x, <code>mreal</code> y, <code>const mglDataA &amp;</code>val, <code>const wchar_t *</code>txt, <code>const char *</code>fnt=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ftable"></a><u>C function:</u> <code>void</code> <b>mgl_table</b><i> (<code>HMGL</code> gr, <code>mreal</code> x, <code>mreal</code> y, <code>HCDT</code> val, <code>const char *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftablew"></a><u>C function:</u> <code>void</code> <b>mgl_tablew</b><i> (<code>HMGL</code> gr, <code>mreal</code> x, <code>mreal</code> y, <code>HCDT</code> val, <code>const wchar_t *</code>txt, <code>const char *</code>fnt, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw table with values of <var>val</var> and captions from string <var>txt</var> (separated by newline symbol &lsquo;<samp>\n</samp>&rsquo;) at points {<var>x</var>, <var>y</var>} (default at {0,0}) related to current subplot. If string <var>fnt</var> contain &lsquo;<samp>#</samp>&rsquo; then cell border will be drawn. If string <var>fnt</var> contain &lsquo;<samp>|</samp>&rsquo; then table width is limited by subplot width (equivalent option &lsquo;<samp>value 1</samp>&rsquo;). If string <var>fnt</var> contain &lsquo;<samp>=</samp>&rsquo; then widths of all cells are the same. Option <code>value</code> set the width of the table (default is 1). See also <a href="#plot">plot</a>, <a href="#label">label</a>. See section <a href="mathgl_en_14.html#Table-sample">Table sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="tube"></a>
</p><dl>
<dt><a name="index-tube"></a><u>MGL command:</u> <b>tube</b><i> ydat rdat ['stl'='']</i></dt>
<dt><a name="index-tube-1"></a><u>MGL command:</u> <b>tube</b><i> ydat <code>rval</code> ['stl'='']</i></dt>
<dt><a name="index-tube-2"></a><u>MGL command:</u> <b>tube</b><i> xdat ydat rdat ['stl'='']</i></dt>
<dt><a name="index-tube-3"></a><u>MGL command:</u> <b>tube</b><i> xdat ydat <code>rval</code> ['stl'='']</i></dt>
<dt><a name="index-tube-4"></a><u>MGL command:</u> <b>tube</b><i> xdat ydat zdat rdat ['stl'='']</i></dt>
<dt><a name="index-tube-5"></a><u>MGL command:</u> <b>tube</b><i> xdat ydat zdat <code>rval</code> ['stl'='']</i></dt>
<dt><a name="index-Tube-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tube</b><i> (<code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tube-2"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tube</b><i> (<code>const mglDataA &amp;</code>y, <code>mreal</code> r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tube-3"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tube</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tube-4"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tube</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>mreal</code> r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tube-5"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tube</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>const mglDataA &amp;</code>r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-Tube-6"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Tube</b><i> (<code>const mglDataA &amp;</code>x, <code>const mglDataA &amp;</code>y, <code>const mglDataA &amp;</code>z, <code>mreal</code> r, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ftube_005fr"></a><u>C function:</u> <code>void</code> <b>mgl_tube_r</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>HCDT</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftube"></a><u>C function:</u> <code>void</code> <b>mgl_tube</b><i> (<code>HMGL</code> gr, <code>HCDT</code> y, <code>mreal</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftube_005fxyr"></a><u>C function:</u> <code>void</code> <b>mgl_tube_xyr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftube_005fxy"></a><u>C function:</u> <code>void</code> <b>mgl_tube_xy</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>mreal</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftube_005fxyzr"></a><u>C function:</u> <code>void</code> <b>mgl_tube_xyzr</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>HCDT</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dt><a name="index-mgl_005ftube_005fxyz"></a><u>C function:</u> <code>void</code> <b>mgl_tube_xyz</b><i> (<code>HMGL</code> gr, <code>HCDT</code> x, <code>HCDT</code> y, <code>HCDT</code> z, <code>mreal</code> r, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw the tube with variable radius <var>r</var>[i] along the curve between points {<var>x</var>[i], <var>y</var>[i], <var>z</var>[i]}. See also <a href="#plot">plot</a>. See section <a href="mathgl_en_14.html#Tube-sample">Tube sample</a>, for sample code and picture.
</p></dd></dl>

<p><a name="torus"></a>
</p><dl>
<dt><a name="index-torus"></a><u>MGL command:</u> <b>torus</b><i> rdat zdat ['stl'='']</i></dt>
<dt><a name="index-Torus-1"></a><u>Method on <code>mglGraph</code>:</u> <code>void</code> <b>Torus</b><i> (<code>const mglDataA &amp;</code>r, <code>const mglDataA &amp;</code>z, <code>const char *</code>pen=<code>&quot;&quot;</code>, <code>const char *</code>opt=<code>&quot;&quot;</code>)</i></dt>
<dt><a name="index-mgl_005ftorus"></a><u>C function:</u> <code>void</code> <b>mgl_torus</b><i> (<code>HMGL</code> gr, <code>HCDT</code> r, <code>HCDT</code> z, <code>const char *</code>pen, <code>const char *</code>opt)</i></dt>
<dd><p>These functions draw surface which is result of curve {<var>r</var>, <var>z</var>} rotation around axis. If string <var>pen</var> contain symbols &lsquo;<samp>x</samp>&rsquo; or &lsquo;<samp>z</samp>&rsquo; then rotation axis will be set to specified direction (default is &lsquo;<samp>y</samp>&rsquo;). If string <var>pen</var> have symbol &lsquo;<samp>#</samp>&rsquo; then wire plot is produced. If string <var>pen</var> have symbol &lsquo;<samp>.</samp>&rsquo; then plot by dots is produced. See also <a href="#plot">plot</a>, <a href="mathgl_en_40.html#axial">axial</a>. See section <a href="mathgl_en_14.html#Torus-sample">Torus sample</a>, for sample code and picture.
</p></dd></dl>


<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_38.html#Legend" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_40.html#g_t2D-plotting" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_47.html#Widget-classes" title="Next chapter"> &gt;&gt; </a>]</td>
</tr></table>
<p>
 <font size="-1">
  This document was generated by <em>Build Daemon user</em> on <em>December 22, 2013</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
 </font>
 <br>

</p>
</body>
</html>