[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.12 Dual plotting (MGL)
These plotting commands draw two matrix simultaneously. There are 5 generally different types of data representations: surface or isosurface colored by other data (surfc, surf3c), surface or isosurface transpared by other data (surfa, surf3a), tiles with variable size (tiles), mapping diagram (map), STFA diagram (stfa). Commands surf3a and surf3c have variants for automatic and manual selection of level values for isosurfaces. 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.
String paramter sch sets the color scheme (see section Color scheme). Previous color scheme is used by default. Arrays x, y, z can be vectors (not 3d arrays as a). If array xdat, ydat, zdat is not specified then its an automatic arrays are used with values equidistantly distributed along x, y, z.
- MGL command: surfc zdat cdat ['sch'='']
- MGL command: surfc xdat ydat zdat cdat ['sch'='']
Draws surface specified parametrically {xdat[i,j], ydat[i,j], zdat[i,j]} and color it by matrix cdat[i,j]. See also surf, surfa, surf3c. See section SurfC sample, for sample code and picture.
- MGL command: surf3c adat cdat
val
['sch'=''] - MGL command: surf3c xdat ydat zdat adat cdat
val
['sch'=''] Draws isosurface plot for 3d array specified parametrically adat[i,j,k](xdat[i,j,k], ydat[i,j,k], zdat[i,j,k]) at a(x,y,z)=val. It is mostly the same as surf3 command but the color of isosurface depends on values of array cdat. If string contain ‘#’ then wire plot is produced. See also surf3, surfc, surf3a. See section Surf3C sample, for sample code and picture.
- MGL command: surf3c adat cdat ['sch'=''
num=5
] - MGL command: surf3c xdat ydat zdat adat cdat ['sch'=''
num=5
] Draws num-th uniformly distributed in color range (see
caxis
) isosurfaces for 3d data specified parametrically.
- MGL command: surfa zdat cdat ['sch'='']
- MGL command: surfa xdat ydat zdat cdat ['sch'='']
Draws surface specified parametrically {xdat[i,j], ydat[i,j], zdat[i,j]} and transparent it by matrix cdat[i,j]. See also surf, surfc, surf3a, tiles. See section SurfA sample, for sample code and picture.
- MGL command: surf3a adat cdat
val
['sch'=''] - MGL command: surf3a xdat ydat zdat adat cdat
val
['sch'=''] Draws isosurface plot for 3d array specified parametrically adat[i,j,k](xdat[i,j,k], ydat[i,j,k], zdat[i,j,k]) at a(x,y,z)=val. It is mostly the same as surf3 command but the transparency of isosurface depends on values of array cdat. If string contain ‘#’ then wire plot is produced. See also surf3, surfa, surf3c. See section Surf3A sample, for sample code and picture.
- MGL command: surf3a adat cdat ['sch'=''
num=5
] - MGL command: surf3a xdat ydat zdat adat cdat ['sch'=''
num=5
] Draws num-th uniformly distributed in color range (see
caxis
) isosurfaces for 3d data specified parametrically.
- MGL command: tiles zdat rdat ['sch'='']
- MGL command: tiles xdat ydat zdat rdat ['sch'='']
Draws horizontal tiles for surface specified parametrically {xdat[i,j], ydat[i,j], zdat[i,j]}. It is mostly the same as tile but the size of tiles is determined by rdat array. See also surfa, tile. See section TileS sample, for sample code and picture.
- MGL command: map udat vdat ['sch'=''
pnts=on
] - MGL command: map xdat ydat udat vdat ['sch'=''
pnts=on
] Draws mapping plot for matrixes {udat, vdat } which parametrically depend on coordinates xdat, ydat. The previous position of the cell (point) is marked by color. Height is proportional to Jacobian(udat,vdat). This plot is like Arnold diagram ???. If
pnts=off
then face is drawn otherwise the color ball at matrix knots are drawn. The size of udat and vdat must be the same. See section Map sample, for sample code and picture.
- MGL command: stfa re im
dn
['sch'=''pnts=on
] - MGL command: stfa xdat ydat re im
dn
['sch'=''pnts=on
] Draws spectrogram of complex array re+i*
im
for Fourier size of dn points at plane z=zVal. Parameter dn is arbitrary even integer. For example in 1D case, result is density plot of data res[i,j]=|\sum_d^dn exp(I*j*d)*(re[i*dn+d]+I*im[i*dn+d])|/dn with size {int(nx/dn), dn, ny}. See section STFA sample, for sample code and picture.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |