| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
10.14 Other plotting (MGL)
These commands perform miscelaneous plotting. There is unstructured data points plots (Dots), surface reconstruction (Crust), surfaces on the triangular mesh (TriPlot), textual formula plotting (Plots by formula), data plots at edges (Dens[XYZ], Cont[XYZ], ContF[XYZ]), simple plot (SimplePlot). Each type of plotting has similar interface. There are 2 kind of versions which handle the arrays of data and coordinates or only single data array. Parameters of color scheme are specified by the string argument. See section Color scheme.
- MGL command: densx dat ['sch'=”
val=nan] - MGL command: densy dat ['sch'=”
val=nan] - MGL command: densz dat ['sch'=”
val=nan] These plotting commands draw density plot in x, y or z plain. If dat is a tensor (3-dimensional data) then interpolation to a given val is performed. These commands are useful for creating projections of the 3D data array to the bounding box. See also
cont[xyz], contf[xyz], dens. See section Dens projection sample, for sample code and picture.
- MGL command: contx dat ['sch'=”
val=nan num=7] - MGL command: conty dat ['sch'=”
val=nan num=7] - MGL command: contz dat ['sch'=”
val=nan num=7] These plotting commands draw contour lines in x, y or z plain. If dat is a tensor (3-dimensional data) then interpolation to a given val is performed. These commands are useful for creating projections of the 3D data array to the bounding box. See also
dens[xyz], contf[xyz], cont. See section Cont projection sample, for sample code and picture.
- MGL command: contfx dat ['sch'=”
val=nan num=7] - MGL command: contfy dat ['sch'=”
val=nan num=7] - MGL command: contfz dat ['sch'=”
val=nan num=7] These plotting commands draw solid contours in x, y or z plain. If dat is a tensor (3-dimensional data) then interpolation to a given val is performed. These commands are useful for creating projections of the 3D data array to the bounding box. See also
dens[xyz], cont[xyz], contf.
- MGL command: dots xdat ydat zdat ['sch'=”]
Draws the arbitrary placed points {xdat[i], ydat[i], zdat[i]}. See also
crust, mark, plot. See section Dots sample, for sample code and picture.
- MGL command: crust xdat ydat zdat ['sch'=”]
Reconstructs and draws the surface for arbitrary placed points {xdat[i], ydat[i], zdat[i]}. If string contain ‘#’ then wire plot is produced. See also
dots, triplot. See section Crust sample, for sample code and picture.
- MGL command: triplot xdat ydat idat ['sch'=”
zval=nan] - MGL command: triplot xdat ydat zdat idat ['sch'=”
zval=nan] Draws the surface of triangles. Triangle vertexes are set by indexes idat of data points {xdat[i], ydat[i], zdat[i]}. If string contain ‘#’ then wire plot is produced. First dimensions of idat must be 3 or greater. See also
dots, crust.
- MGL command: fplot 'y(x)' ['pen'=”
zval=nan num=100] Draws command function ‘y(x)’ at plane z=zval where ‘x’ variable is changed in
xrange. You do not need to create the data arrays to plot it. The parameter num set the minimal number of points along coordinate(s) for plots. See alsoplot.
- MGL command: fplot 'x(t)' 'y(t)' 'z(t)' ['pen'=”
num=100] Draws command parametrical curve {‘x(t)’, ‘y(t)’, ‘z(t)’} where ‘t’ variable is changed in range [0, 1]. You do not need to create the data arrays to plot it. The parameter num set the minimal number of points along coordinate(s) for plots. See also
plot.
- MGL command: fsurf 'z(x,y)' ['sch'=”
num=100] Draws command surface for function ‘z(x,y)’ where ‘x’, ‘y’ variable are changed in
xrange, yrange. You do not need to create the data arrays to plot it. The parameter num set the minimal number of points along coordinate(s) for plots. See alsosurf.
- MGL command: fsurf 'x(u,v)' 'y(u,v)' 'z(u,v)' ['sch'=”
num=100] Draws command parametrical surface {‘x(u,v)’, ‘y(u,v)’, ‘z(u,v)’} where ‘u’, ‘v’ variable are changed in range [0, 1]. You do not need to create the data arrays to plot it. The parameter num set the minimal number of points along coordinate(s) for plots. See also
surf.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
