
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k1,k2 in myfun:
- •Is collected along a path.
- •Vector y are drawn as bars in descending order. Each bar will
- •Vector the same length a X and y or a scalar. If s is a scalar,
- •X and y such that plot(XX,yy) is the stairstep graph.
- •Contour and 2-1/2 d graphs
- •X and y data must be consistently sorted in that if the first
- •2 Inches.
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfun:
- •Specialized 3-d graphs
- •Inputs.
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfuntk:
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfun:
- •Is drawn beneath the mesh.
- •Values in X are normalized via X/sum(X) to determine the area of
- •Volume array.
- •Vector data u,V. The arrays X,y define the coordinates for u,V and
- •Instead of an arrow on the tip. Use a marker of '.' to specify
- •Instead of an arrow on the tip. Use a marker of '.' to specify
- •Interpreted.
- •Instead of the current axes.
- •Imread Read image from graphics file.
- •In the structure returned from imfinfo function.
- •In order to create a cmyk tiff, the colorspace
- •In addition to these png parameters, you can use any
- •Images), 'rle' (run-length encoding of 1-bit
- •Image(f.Cdata);
- •In the movie. For example, if m has four frames then
- •Color related functions
- •Solid modeling
If your function has additional parameters, for example k in myfun:
%-----------------------%
function z = myfun(x,y,k)
z = x.^k - y.^k - 1;
%-----------------------%
then you may use an anonymous function to specify that parameter:
ezcontourf(@(x,y)myfun(x,y,2))
See also ezplot, ezplot3, ezpolar, ezcontour, ezsurf, ezmesh,
ezsurfc, ezmeshc, contourf, vectorize, function_handle.
Overloaded methods:
sym/ezcontourf
Reference page in Help browser
doc ezcontourf
<pcolor> - Pseudocolor (checkerboard) plot.
PCOLOR Pseudocolor (checkerboard) plot.
PCOLOR(C) is a pseudocolor or "checkerboard" plot of matrix C.
The values of the elements of C specify the color in each
cell of the plot. In the default shading mode, 'faceted',
each cell has a constant color and the last row and column of
C are not used. With shading('interp'), each cell has color
resulting from bilinear interpolation of the color at its
four vertices and all elements of C are used.
The smallest and largest elements of C are assigned the first and
last colors given in the color table; colors for the remainder of the
elements in C are determined by table-lookup within the remainder of
the color table.
PCOLOR(X,Y,C), where X and Y are vectors or matrices, makes a
pseudocolor plot on the grid defined by X and Y. X and Y could
define the grid for a "disk", for example.
PCOLOR(AX,..) plots into AX instead of GCA.
H = PCOLOR(...) returns a handle to a SURFACE object.
PCOLOR is really a SURF with its view set to directly above.
See also caxis, surf, mesh, image, shading.
Reference page in Help browser
doc pcolor
<voronoi> - Voronoi diagram.
VORONOI Voronoi diagram.
VORONOI(X,Y) plots the Voronoi diagram for the points X,Y. Lines-to-
infinity are approximated with an arbitrarily distant endpoint.
VORONOI(X,Y,OPTIONS) specifies a cell array of strings OPTIONS
that were previously used by Qhull. Qhull-specific OPTIONS are no longer
required and are currently ignored. Support for these options will be
removed in a future release.
VORONOI(X,Y,TRI) uses the Delaunay triangulation TRI instead of
computing it internally.
VORONOI(DT) uses the Delaunay triangulation DT instead of computing it
internally, where DT is a DelaunayTri.
VORONOI(AX,...) plots into AX instead of GCA.
H = VORONOI(...,'LineSpec') plots the diagram with color and linestyle
specified and returns handles to the line objects created in H.
[VX,VY] = VORONOI(...) returns the vertices of the Voronoi edges in VX
and VY so that plot(VX,VY,'-',X,Y,'.') creates the Voronoi diagram.
The lines-to-infinity are the last columns of VX and VY. To
ensure the lines-to-infinity do not affect the settings of the axis
limits, use the commands:
h = plot(VX,VY,'-',X,Y,'.');
set(h(1:end-1),'xliminclude','off','yliminclude','off')
For the topology of the voronoi diagram, i.e. the vertices for
each voronoi cell, use DelaunayTri/voronoiDiagram as follows:
dt = DelaunayTri(X(:),Y(:))
[V,C] = voronoiDiagram(dt)
See also DelaunayTri, voronoin, delaunay, convhull.
Reference page in Help browser
doc voronoi