Graphics Reference
In-Depth Information
quiver(U,V)
quiver(X, Y, U, V)
quiver(…, scale)
quiver(…, LineSpec)
quiver(…, LineSpec, 'filled')
Graph of velocity of the vectors with components (u, v) in the points (x, y). You can
define a scale, specifications, line and fill.
ribbon(y)
ribbon(X, Y)
ribbon(X, Y, width)
Graphic with three-dimensional tapes as columns.
Graph X against the columns of Y.
Specifies the width of the tape.
stairs(Y)
stairs(X, Y)
stairs(…,LineSpec)
Stairstep graphic with elements of Y.
Stairstep graphic with elements of Y corresponding with X.
When the LineSpec parameter is used, colors can be controlled using 'r'=red, and
so on.
scatter(X,Y,S,C)
scatter(X,Y)
scatter(X,Y,S)
scatter(…, marker)
scatter(…, 'filled')
Dispersion for the vector graph (X, Y) according to color C and the area of each
marker S. You can also get the graphic filled (fill option) and use different types of
markers.
scatter3(X,Y,Z,S,C)
scatter3(X,Y,Z)
scatter3(X,Y,Z,S)
scatter3(…,marker)
scatter(…,'filled')
Graphic three-dimensional scatter (X, Y, Z) vectors according to the colors C and
the area of each marker S. You can also get the graphic filled (fill option) and use
different types of markers.
TRI = delaunay(x,y)
Delaunay Triangulation.
K = dsearch(x,y,TRI,xi,yi)
Delaunay Triangulation for the nearest point.
IN = inpolygon(X,Y,xv,yv)
Detects points inside a polygonal region.
polyarea(X, Y)
Area of the polygon specified by vectors X and Y.
tsearch
Delaunay Triangulation.
voronoi(x,y)
voronoi(x, y, TRI)
Voronoi diagrams.
As a first example, we carry out a stacked area chart (see Figure 4-17 ).
>> Y = [1, 5, 3;
3, 2, 7;
1, 5, 3;
2, 6, 1];
area(Y)
grid on
colormap summer
Search WWH ::




Custom Search