(one color defined per vertex) orĬolor representation also varies when specifying some GlobalPropery: Matrix, the C colors matrix dimension can be The vertices or at the center of each patch. Matrix is given, it can be applied to the patch in two different ways : at Matrices matching the Z matrix dimension (and the grid isĬonsidering the 3 functions x(i,j), y(i,j)Īnd z(i,j), the portion of surface defining between twoīy default, when no colors matrix is added to a surf call, the colors Y are vectors, they are internally treated to produce good (even if X or Y is vector, see below) and can beĬonsidered as 3 functions x(i,j), y(i,j) and This imaginary rectangular grid is used to build the real surface The default axes used is the active gca() one. Handle of the graphical axes where the surface must be drawn. For a complete view of the available properties (see Global objects' properties applied to all the curves created by this (X(j),Y(i)) point of the grid (see description Surf(…) automatically generates matrices fromĪn optional real matrix defining a colors value for each Vectors while fun(…) expects only input matrices, Through a list, as in surf(x,y, list(delip, -0.4)) or If the 2D function fun to plot needs some parametersĪs input arguments, the function and its parameters can be specified Handle of a function, as in surf(x,y, myFun) where theĮxpected syntax of myFun is Z=myFun(X,Y). They define the data grid (horizontal coordinates of the grid nodes).Īll grid cells are quadrangular but not necessarily rectangular.Ī real matrix explicitly defining the heights of nodes, of sizes Two vectors of real numbers, of lengths nx and ny
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |